[]
        
(Showing Draft Content)

WorkbookColumn Class

WorkbookColumn Class

Represents the Workbook Object Model column definition.

Heirarchy

  • WorkbookColumn

Constructors

Properties

Constructors

constructor

Properties

autoWidth

autoWidth: boolean

Gets or sets a value that determines whether the column width will be automatically increased to fit numeric/date contents after the user edits a cell.

style

Gets or sets the column style.

The property defines the style for all cells in the column, and can be overridden by the specific cell styles.

visible

visible: boolean

Gets or sets the column visibility.

width

width: any

Gets or sets the width of the column in device-independent (1/96th inch) pixels or characters.

The numeric value defines the width in pixels. On import, the widths are always expressed in pixels.

The string value which is a number with the 'ch' suffix, for example '10ch', defines the width in characters. It has the same meaning as the column width defined through Excel UI. The width can be specified in characters for the export operations only.

If width is not specified, then the default width is applied.