5.20231.904
wijmo.grid.sheet Class TableColumn Wijmo API Class

TableColumn Class

Represents a column within the Table.

Heirarchy

  • TableColumn

Constructors

constructor

  • new TableColumn(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.

    • Optional totalRowLabel: string

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

    • Optional totalRowFunction: string

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

    • Optional showFilterButton: boolean

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

    Returns TableColumn

Properties

name

name: string

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

showFilterButton

showFilterButton: boolean

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.

table

table: Table

Gets the Table the table columns belongs to.

totalRowFunction

totalRowFunction: string

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

totalRowLabel

totalRowLabel: string

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