clearObjects();
The clearObjects method deletes all objects from table.
To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component), and the TabSheetObject component (see the page with description of the TabSheet.addObject method). A table with an object added to it looks as follows:
Now delete this object:
// Get table data model var model = tabSheet.getModel(); // Delete table cell groups model.clearObjects();
After executing the example all objects in the table are deleted:
See also: