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
myTreeGrid.clearAll();
//delete all rows from the grid, clear header
myTreeGrid.clearAll(true);

Back to top