PDA

View Full Version : Remove Dirty state (row Editor)



cabster
26 Jan 2010, 2:07 PM
Hello all,

i have a RowEditor grid that is working. When i save the edited rows the row is still dirty
How do i remove the dirty state when my server returns success?

I think i need something like this:



store.on("save", function(store, batch, data ){
record.commit();
});

cabster
26 Jan 2010, 2:26 PM
it worked with the code bellow but it should be checked by the server result



store.on("save", function(store, batch, data ){
store.commitChanges();
});