The number of columns in the grid.

Property of

Grid

Description

columnCount is a read-only property that contains the number of columns in the grid; either the number of columns that are automatically created when no GridColumn objects are specified, or the number of GridColumn objects explicitly added.