columns


columnsArray<Column>

Sets or gets the defining properties of the columns in a table.

Table columns do not store any data. They contain the properties, such as the label and type, that define a table column.

Setting the columns property sets the columns in the table.

Getting the columns property returns the current list of columns in the table.

You cannot modify the data array in-place. To add, change, or remove individual columns:

  1. Store the value of the columns property in a variable.
  2. Make changes to the columns array.
  3. Reset the columns property with the modified array.
Did this help?