Skip to main content

table_autoResetSorting

还没翻译译自英文(tanstack.com)本页 15 段都还没译

function table_autoResetSorting<TFeatures, TData>(table): void;

Defined in: features/row-sorting/rowSortingFeature.utils.ts:83

Resets sorting after the table data changes when explicitly enabled.

Unlike other auto-reset behaviors, sorting is preserved by default. An explicit autoResetAll value takes precedence over autoResetSorting.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

void

Example

table_autoResetSorting(table)