deleteColumn(colIndex: Number, count: Number);
colIndex. Index of the first table column to be removed.
count. Number of table columns to be removed.
The deleteColumn method deletes table columns.
To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Delete three columns with the indexes 1, 2 and 3, and three rows with the indexes 0, 1 and 2:
// Get table dimensions var measures = tabSheet.getMeasures(); // Delete columns measures.deleteColumn(1, 3); // Delete rows measures.deleteRow(0, 3); // Refresh table tabSheet.rerender();
After executing the example selected table rows and columns are deleted:
Seebsp;also: