ASP.NET Core MVC Controls | ComponentOne
In This Topic
    WorkbookColumn Class
    In This Topic
    File
    wijmo.xlsx.js
    Module
    wijmo.xlsx
    Implements
    IWorkbookColumn

    Represents the Workbook Object Model column definition.

    Constructor

    Properties

    Constructor

    constructor

    constructor(): void
    

    Initializes a new instance of the WorkbookColumn class.

    Returns
    void

    Properties

    autoWidth

    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.

    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