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.

Parameters:

Name Type Default Description

[c]

Array.<TableColumn> | boolean

false

An array of TableColumn formatted objects to set new columns while replacing existing ones. To remove all columns just pass an empty Array []. To get an Array of columns pass a boolean:

  • true to get columns in a new order.
  • false (default) to get columns in original order.

Returns:

Type: Array.<TableColumn> | Table

Also See: