dhtmlGrid 1.5 - setValue() not setting changed state

Hi,



I am setting the value of a cell with JavaScript by invoking the setValue method. Although the value on the screen is updated, the changed state is not. This problem occurs when I serialize the grid and send it to the server; there is no changed attribute in the document. I tried explicitly setting the wasChanged attribute to true, but that did not work eitherl.



any ideas?

setValue() not setting changed state
This is expected behavior, changed state triggered only if data was changed by direct edit operation. Changes by API don’t trigger “changed” state.
Basically you can set state manually by
    grid.cells(i,j).cell.wasChanged=true;