Column<T>
Abstract base for a DataGrid<T> column. Concrete columns
(PropertyColumn<T1, T2>, TemplateColumn<T>)
register themselves with the owning grid on first render.
Type parameters
Section titled “Type parameters”T— Row item type.
Properties
Section titled “Properties”CanSort
Section titled “CanSort”Whether this column can actually be sorted (sortable AND a sort func exists).
CellClass
Section titled “CellClass”Optional CSS class applied to every body cell in this column.
HeaderClass
Section titled “HeaderClass”Optional CSS class applied to the header cell.
Identifier
Section titled “Identifier”Stable identifier used as the sort key. Defaults to Column<T>.Title.
Owning grid, supplied via cascading value.
Sortable
Section titled “Sortable”Whether the column is sortable.
Column header text.
Methods
Section titled “Methods”GetSortFunc()
Section titled “GetSortFunc()”Returns the value used to sort rows by this column, or null when not sortable.
RenderCell(T)
Section titled “RenderCell(T)”Renders the cell content for the given row.