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 only one column.
- Scrollable Columns This collection contains the main set of columns. It is used by the cells, columnHeaders, and columnFooters panels.
Both of these collections are objects of ColumnCollection class, 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:
And this grid has no fixed columns and a custom set of scrollable columns: