Grid events

I’m evaluating the product to see if it will fit my business’ needs. I’ve been testing just a couple of the Grid events. ‘onRowSelected’ and ‘onRowDblClicked’ work fine, but ‘onCellChanged’ does not seem to fire. That one is very important so i can perform a postback to the server and update the database. Is it possible that the alert function will not work in that handler? Here is my code:



mygrid.init();

mygrid.loadXML(“SADBGrid.aspx”,

function(){

mygrid.attachEvent(“onCellChanged”,function(){alert(“Cell was changed”);});

//mygrid.attachEvent(“onRowSelect”,doOnRowSelected);

//mygrid.attachEvent(“onRowDblClicked”,doOnRowDblClicked);

});

The code is correct, but onCellChanged event exist only in pro version of grid.

sales@dhtmlx.com and request eval version of pro editon
b) use onEditCell event which available in both editions. The stage 2 of onEditCell event occurs after cell value changed, and can be used for tracking changes, same as onCellChanged event