Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
- stockFeatures
- coreFeatures
- coreCellsFeature
- coreColumnsFeature
- coreHeadersFeature
- coreRowModelsFeature
- coreRowsFeature
- coreTablesFeature
- cellSpanningFeature
- columnFilteringFeature
- columnFacetingFeature
- rowAggregationFeature
- columnGroupingFeature
- columnOrderingFeature
- columnPinningFeature
- columnResizingFeature
- columnSizingFeature
- columnVisibilityFeature
- globalFilteringFeature
- rowExpandingFeature
- rowPaginationFeature
- rowPinningFeature
- rowSelectionFeature
- rowSortingFeature
- filterFns
- sortFns
- aggregationFns
- ColumnFilter
- ColumnPinningState
- ColumnSort
- PaginationState
- RowPinningState
- columnResizingState
- FilterFn
- FilterFns
- FilterMeta
- SortFn
- SortFns
- AggregationFns
- AggregationContext
- AggregationMergeContext
- AggregationFnDef
- AggregationFnDescriptor
- AggregationValueContext
- AggregationValueResult
- constructAggregationFn
- ColumnFiltersState
- ColumnOrderState
- ColumnPinningPosition
- ColumnResizeDirection
- ColumnResizeMode
- ColumnSizingState
- ColumnVisibilityState
- ExpandedState
- GroupingState
- RowPinningPosition
- RowSelectionState
- SortDirection
- SortingState
- AggregationFnOption
- AggregationResult
- FilterFnOption
- SortFnOption
- BuiltInAggregationFn
- BuiltInFilterFn
- BuiltInSortFn
Static Functions API Reference
Legacy API Reference
- Legacy API Overview
- useLegacyTable
- legacyCreateColumnHelper
- getCoreRowModel
- getFilteredRowModel
- getSortedRowModel
- getGroupedRowModel
- getExpandedRowModel
- getPaginationRowModel
- getFacetedRowModel
- getFacetedMinMaxValues
- getFacetedUniqueValues
- LegacyRowModelOptions
- LegacyTable
- LegacyTableOptions
- LegacyReactTable
- LegacyColumnDef
CreatedSortFn
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