column_getCanSort
function column_getCanSort<TFeatures, TData, TValue>(column): boolean;Defined in: features/row-sorting/rowSortingFeature.utils.ts:424
Checks whether this accessor column can participate in sorting.
The column must have an accessor and sorting must be enabled by both the column definition and table options.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
TValue
TValue extends unknown = unknown
Parameters
column
Column_Internal<TFeatures, TData, TValue>
Returns
boolean
Example
const canSort = column_getCanSort(column)