OptionalcellA function for conditinally adding classes to a cell.
OptionalcellA function for rendering the contents of a cell. NOTE: Search highlighting will not work for this cell when used.
OptionaleditorWheter the column's cells can be edited or not.
The field name in the data object.
OptionalfilterA custom function to determine if a cell's value in this column matches a given filter criterion.
This is used when DataTable.filter() is called with an object-based filter that targets this column's field.
OptionalnullsIf true, null and undefined values will always be sorted to the end of the data, regardless of sort order.
OptionalprimaryIf true, this column will be used to generate a unique ID for each row.
OptionalresizableWhether the column should be resizable.
OptionalroleDetermines if a column is intended to be displayed, or just for searching and filtering.
OptionalsearchableWhether the column is searchable.
OptionalsearchA function for tokenizing this column's data. Fallback to the main table tokenizer if not provided.
OptionalsortableWhether the column is sortable.
OptionalsorterA function to use for sorting the column. This overrides the default sorting behavior.
OptionaltitleThe title to display in the header.
OptionaltokenizeWhether the column's data should be tokenized for searching.
OptionalvalueA function to format the value for display.
Column options for the table.