:: Forum >>

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
Monday, April 8, 2013
http://www.activewidgets.com/javascript.forum.13419.1/error-on-obj-raiseevent-editcurrentcell.html
Monday, April 8, 2013
Saw that thread, wrapping the raiseEvent with a try/catch block made no difference to IE 8.
Chris
Monday, April 8, 2013
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
Monday, April 8, 2013
This is a reproducible error using the demo code.. Alex, any thoughts?
Chris
Tuesday, April 23, 2013

This topic is archived.


Back to support forum

Forum search