Demos
Documentation
API
More Samples
Download Wijmo

Column Collections

The FlexGrid control has two sets of columns:

  • Fixed Columns This collection contains the columns on the left of the grid; it is used by the topLeftCells and rowHeaders panels. By default, this collection contains one column.
  • Scrollable Columns This collection contains the main set of columns; it is used by the cells, columnHeaders, and columnFooters panels.

Both column collections are ColumnCollection objects, which extend regular arrays. You may add or remove columns by adding or removing Column objects from these arrays.

For example, the grid below has an extra fixed column and automatically-generated scrollable columns: