Skip to Content
API ReferenceTableColumn

TableColumn

Defines a single column in a Table.

Constructor

TableColumn

Creates a TableColumn.

ParameterDescription
headerThe column header label. Must not be null.
cellTextA function that extracts display text from a row. Must not be null.
widthOptional fixed width in logical pixels.
sortableWhether the column header can be clicked to sort. Defaults to true.

Properties

CellText

Extracts the display string for a given row value. Used to render cell text and to compare values when sorting.

The label displayed in the column header.

Sortable

Whether this column supports sorting. Defaults to true.

Width

Optional fixed width in logical pixels. Null means the column shares available width equally with other unsized columns.

Last updated on