ColumnModel

23 Sep 20251 minute to read

Interface for a class Column

Properties

customWidth boolean

specifies custom width of the column.

format FormatModel

Specifies format of the column.

hidden boolean

To hide/show the column in spreadsheet.

index number

Specifies index of the column. Based on the index, column properties are applied.

isLocked boolean

To lock/unlock the column in the protected sheet.

isReadOnly boolean

Represents whether a column in the sheet is read-only or not. If set to true, it prevents editing the specified cell in the sheet.

validation ValidationModel

Specifies the validation of the column.

width number

Specifies width of the column.