ComponentOne ASP.NET MVC Controls
WorkbookColumn Class
File
wijmo.xlsx.js
Module
wijmo.xlsx
Implements
IWorkbookColumn

Represents the Workbook Object Model column definition.

Constructor

Properties

Constructor

constructor

constructor(): WorkbookColumn

Initializes a new instance of the WorkbookColumn class.

Returns
WorkbookColumn

Properties

autoWidth

Gets or sets a value indicating whether the column width is automatically adjusted to fit the content of its cells.

Type
boolean

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.

Type
WorkbookStyle

visible

Gets or sets the column visibility.

Type
boolean

width

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.

Type
any