columns([c])
Class: Table.
Description:
Gets or sets the list of columns for the table. To simple remove all columns pass null or empty Array.
- When passing an array of column objects, it replaces the existing columns.
- Passing
nullremoves all columns. - Passing fewer columns than currently exist will also remove the extra columns from all rows.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
Array.<TableColumn> | boolean |
false |
An array of
|
Returns:
Type: Array.<TableColumn> | Table
