BaseColumnConfiguration

Configuration object for grid columns.

Optional cellTemplate

Section titled "cellTemplate"

Cell template callback.

cellTemplate?: object

Optional dataType

Section titled "dataType"

The type of data this column will reference.

Affects the default filter operands if the column is with filtering enabled.

dataType?: DataType

Remarks

If not passed, string is assumed to be the default type.

The field from the data for this column.

field: K

Optional filterable

Section titled "filterable"

Whether the column can be filtered.

filterable?: boolean

Optional filteringCaseSensitive

Section titled "filteringCaseSensitive"

Whether the filter operations will be case sensitive.

filteringCaseSensitive?: boolean

Optional text to display in the column header. By default, the column field is used to render the header text.

header?: string

Optional headerTemplate

Section titled "headerTemplate"

Header template callback.

headerTemplate?: object

Whether the column is hidden or not.

hidden?: boolean

Optional resizable

Section titled "resizable"

Whether the column can be resized or not.

resizable?: boolean

Optional sortable

Section titled "sortable"

Whether the column can be sorted.

sortable?: boolean

Optional sortConfiguration

Section titled "sortConfiguration"

Sort configuration options for the column (e.g., custom comparer).

sortConfiguration?: ColumnSortConfiguration<T, K>

Optional sortingCaseSensitive

Section titled "sortingCaseSensitive"

Whether the sort operations will be case sensitive.

sortingCaseSensitive?: boolean

Width for the current column.

Accepts most CSS units for controlling width.

width?: string

Remarks

If not passed, the column will try to size itself based on the number of other columns and the total width of the grid.