Skip to content

API reference / Common / Engine types / GridColumn

Interface: GridColumn ​

A column's data — the attributes of the <cols><col> covering it — which the columns of a run in Worksheet::columns share, so a <col> covering @min..@max is one run. The default is a column no <col> covers.

Properties ​

PropertyDescription
width?
number | null
@width in character units — None uses the sheet's default width.
hidden?
boolean
@hidden — the column is not shown.
outlineLevel?
number
@outlineLevel — grouping depth (0 = ungrouped).
collapsed?
boolean
@collapsed — the outline group is collapsed.
format?
string | null
worksheet/cols/col/@style — the cell format, one of the workbook's GridStyles::cell_formats, for cells of the column the sheet does not list, where their row names none.