本页还没有译文
本页 50 段还没译成Español,下面显示的是英文原文。CreatedSortFn
还没翻译译自英文(tanstack.com)本页 50 段都还没译
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.
Extends
SortFnDef<TFeatures,TData>
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
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.
Type Parameters
TRowFeatures
TRowFeatures extends TableFeatures
TRowData
TRowData extends RowData
Parameters
rowA
Row<TRowFeatures, TRowData>
rowB
Row<TRowFeatures, TRowData>
columnId
string
Returns
number
Properties
resolveDataValue?
optional resolveDataValue?: TransformDataValueFn;Defined in: features/row-sorting/rowSortingFeature.types.ts:69
Inherited from
sort
sort: (dataValueA, dataValueB, rowA, rowB, columnId) => number;Defined in: features/row-sorting/rowSortingFeature.types.ts:62
Parameters
dataValueA
any
dataValueB
any
rowA
Row<TFeatures, TData>
rowB
Row<TFeatures, TData>
columnId
string
Returns
number