Check documentation for the latest version of dhtmlxSuite clearChangedState DHTMLX Docs

clearChangedState

clears wasChanged state for all cells in grid (and wasAdded state as well, if called with a parameter)

void clearChangedState(boolean mode);
modebooleantrue - to clear the wasAdded state

Available only in PRO Edition

Example

// clears wasChanged state for cells
myGrid.clearChangedState();
 
// clears wasChanged and wasAdded state for cells
myGrid.clearChangedState(true);

Change log

the mode param added in the version 5.1

Back to top