Defined in: features/row-sorting/rowSortingFeature.types.ts:81
The shape returned by constructSortFn: a SortFn with its definition attached, so variants can be built by spreading it into another constructSortFn call.
The call signature is generic so a created sorting function can be used with any table's rows, regardless of the feature set it was defined against.
TFeatures extends TableFeatures
TData extends RowData
CreatedSortFn<TRowFeatures, TRowData>(
rowA,
rowB,
columnId): number;Defined in: features/row-sorting/rowSortingFeature.types.ts:85
The shape returned by constructSortFn: a SortFn with its definition attached, so variants can be built by spreading it into another constructSortFn call.
The call signature is generic so a created sorting function can be used with any table's rows, regardless of the feature set it was defined against.
TRowFeatures extends TableFeatures
TRowData extends RowData
Row<TRowFeatures, TRowData>
Row<TRowFeatures, TRowData>
string
number
optional resolveDataValue: TransformDataValueFn;Defined in: features/row-sorting/rowSortingFeature.types.ts:69
sort: (dataValueA, dataValueB, rowA, rowB, columnId) => number;Defined in: features/row-sorting/rowSortingFeature.types.ts:62
any
any
Row<TFeatures, TData>
Row<TFeatures, TData>
string
number