DhtmlxGrid Cell wasChanged() is not working some times.

Hi All,

wasChanged() method is not marking the cell/row has changed when a positive cell value changed to negative/vice-versa. But, positive value to positive and negative value to negative is working.

Below is the code snippet that I have used.

     grid.cells("row1", 0).setValue(newValue.toString());
     grid.cellById("row1",0).wasChanged=true;

     grid.getChangedRows() is returns empty.

Appreciate any help.

Please, try to use:
myGrid.cellById(“row1”,0).cell.wasChanged=true
instead of
myGrid.cellById(“row1”,0).wasChanged=true

Great! It works.