Check documentation for the latest version of dhtmlxSuite clearAll DHTMLX Docs

clearAll

deletes all rows in the grid

void clearAll(boolean header);
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