cannot add row to Alex's checkbox example
In checkbox example of Alex.
In order to use checkbox we should use
obj.setCellText(function(c,r){return myData[r][c]} );
instead of
obj.setCellText( myData );
its ok with this, but if I want to use the
obj.addRow(myData.length++); I got a javascript error pointing to line
obj.setCellText(function(c,r){return myData[r][c]} );
giving the error myData[....] is null or not an object.
an example with adding row to grid with checkbox will be very useful.
Thanks.
In order to use checkbox we should use
obj.setCellText(function(c,r){return myData[r][c]} );
instead of
obj.setCellText( myData );
its ok with this, but if I want to use the
obj.addRow(myData.length++); I got a javascript error pointing to line
obj.setCellText(function(c,r){return myData[r][c]} );
giving the error myData[....] is null or not an object.
an example with adding row to grid with checkbox will be very useful.
Thanks.
Ozgur
February 22,