DataProcessor and grid undo problem

Hello,

i’ve a grid with 3 cells

grid.setColTypes("ro,ch,ch");
grid.init();    
grid.enableUndoRedo();

‘dhtmlxgrid_undo.js’ is called too and i attach a DataProcessor to grid. DataProcessor.setUpdateMode is (“row”,“off”) and modified datas must save by user manually by click on a “Save” button.
Now i get two records from server:

<?xml version="1.0" encoding="UTF-8"?>
<rows>
<row id="1">
<cell><![CDATA[Test1]></cell>
<cell>0</cell>
<cell>0</cell>
</row>
<rows>
<row id="2">
<cell><![CDATA[Test2]></cell>
<cell>0</cell>
<cell>0</cell>
</row>
</rows>

The user click on checkbox in row 1, cell 1 => This record is modified. Ok
The user click on checkbox in row 2, cell 1 => This record is modified. Ok

Now the user click on an “Undo” Button and i call

grid.doUndo();

The checkbox in second row is set to ‘not checked’ and the row is again not modified. After this the user click “Undo” again, the other checkbox is set to ‘not checked’ and no records have been changed.
But when the user click on “Save” button to execute “DataProcessor.sendData()” the event will be firedand the DataProcessor will save modified datas!?!?!?!

Why this, not record is still modified?

Regards, Carsten

DataProcessor marks row each time when it was modified, existing logic doesn’t cares if values are new or restored to original state - the fact is that row was modified - so it need to be sent to the server side.

That is illogical if i connect a DataProcessor with a grid. In this case the grid is the “master” and if a value restored to original state the DataProcessor has reset this too. In my eyes this is a bug.