clearAll

deletes all rows in the grid

void clearAll(boolean header);

Parameters

headerbooleanenable/disable cleaning header

Example

//delete all rows from the grid
myGrid.clearAll();
//delete all rows from the grid, clear header
myGrid.clearAll(true);

Back to top