3.0.4

Bug in 2.61 using IE 8

If you change the "add delete row.htm" example file listed on this site and replace the add() function with the following function which adds the row but then immediately makes it editable it won't work in IE 8 but will in FF and IE 9+:

function add(){
obj.addRow(serial++);
obj.setSelectedColumns([1]);
obj.setSelectedRows([serial-1]);
obj.setCurrentColumn(1);
obj.setCurrentRow(serial-1);
obj.raiseEvent("editCurrentCell", {},1, serial-1);
}

Is there a work around or something that should be done differently?

Chris
April 8,
http://www.activewidgets.com/javascript.forum.13419.1/error-on-obj-raiseevent-editcurrentcell.html
April 8,
Saw that thread, wrapping the raiseEvent with a try/catch block made no difference to IE 8.
Chris
April 8,
Also tried :

obj.selectCell( 1,serial-1);
obj.startCellEdit("");

Instead of the new lines I added above, again would work on IE 10 and FF but not IE 8.
Chris
April 8,
This is a reproducible error using the demo code.. Alex, any thoughts?
Chris
April 23,

This topic is archived.

See also:


Back to support forum