ASP.NET Core MVC Controls | ComponentOne
In This Topic
    TableColumn Class
    In This Topic
    File
    wijmo.grid.sheet.js
    Module
    wijmo.grid.sheet

    Represents a column within the Table.

    Constructor

    constructor

    constructor(name: string, totalRowLabel?: string, totalRowFunction?: string, showFilterButton?: boolean): TableColumn
    

    Initializes a new instance of the TableColumn class.

    Parameters
    • name: string

      The name of the table column.

    • totalRowLabel: string Optional

      The string to show in the totals row cell for the column.

    • totalRowFunction: string Optional

      The function to show in the totals row cell for this column.

    • showFilterButton: boolean Optional

      Indicating whether show the filter button for the table column. The default value of showFilterButton is true.

    Returns
    TableColumn

    Properties

    name

    Gets the name of the table column. It is referenced through functions.

    Type
    string

    showFilterButton

    Indicating whether show the filter button for the table column.

    As FlexSheet has not supported filter for table yet, this property is used for import/export operation only by now.

    Type
    boolean

    table

    Gets the Table the table columns belongs to.

    Type
    Table

    totalRowFunction

    The function to show in the totals row cell for the column.

    Type
    string

    totalRowLabel

    The string to show in the totals row cell for the column.

    Type
    string