clearChangedState

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

void clearChangedState(boolean mode);

Parameters

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