Table Docs
API Reference
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
AI/LLM: This documentation page is available in plain markdown format at/table/latest/docs/reference/index/interfaces/Table_RowSorting.md
Table_RowSorting
Defined in: features/row-sorting/rowSortingFeature.types.ts:266
Type Parameters#
_TFeatures#
_TFeatures extends TableFeatures
_TData#
_TData extends RowData
Properties#
autoResetSorting#
ts
autoResetSorting: () => void;Defined in: features/row-sorting/rowSortingFeature.types.ts:277
Resets sorting after the table data changes when explicitly enabled.
Honors autoResetAll and autoResetSorting; sorting is preserved by default. Called by the core row model; you rarely need to invoke it yourself.
Returns#
void
resetSorting#
ts
resetSorting: (defaultState?) => void;Defined in: features/row-sorting/rowSortingFeature.types.ts:283
Resets sorting to initialState.sorting.
Pass true to ignore initial state and reset to [].
Parameters#
defaultState?#
boolean
Returns#
void
setSorting#
ts
setSorting: (updater) => void;Defined in: features/row-sorting/rowSortingFeature.types.ts:287
Updates sorting state with a next ordered array or updater function.
Parameters#
updater#
Returns#
void