mirror of
https://github.com/TanStack/table.git
synced 2026-11-18 18:55:54 +00:00
* feat(table-core): Further improve tree-shaking across features Keep column ordering, column pinning, and row expanding code out of the core bundle, route more cross-feature reads through feature stubs, and stop allocating unused onAfterUpdate wrappers in production memos. * refactor(table-core): register internal cross-feature fns as table APIs Replace init*InstanceData function storage with @internal table APIs registered via assignTableAPIs, route faceting through the getCanGlobalFilter stub, and enforce feature boundaries with import/no-restricted-paths. Regenerate reference docs and fix stale docs config links. ---------
1.8 KiB
1.8 KiB
| id | title |
|---|---|
| Table_RowSorting | Table_RowSorting |
Defined in: features/row-sorting/rowSortingFeature.types.ts:266
Type Parameters
_TFeatures
_TFeatures extends TableFeatures
_TData
_TData extends RowData
Properties
autoResetSorting
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
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
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