Overview | Methods | Fields | This Package | All Packages
OverviewMethodsFieldsThis PackageAll Packages
DataGrid.clearColumns
Removes all columns from the grid.
Syntax
public void clearColumns()
Remarks
To repopulate the grid, you can:
- Call rebind to add the default set of columns from the recordset.
- Call addColumn to add a single column.
- Call setColumns, if you have stored an array of Column objects that were previously constructed.
To remove only a single column from the grid, call removeColumn.