Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Legacy API Reference
Enterprise
Features API Reference

Table_RowSorting

Interface: Table_RowSorting<TFeatures, TData>

Defined in: features/row-sorting/rowSortingFeature.types.ts:184

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

resetSorting()

ts
resetSorting: (defaultState?) => void;

Defined in: features/row-sorting/rowSortingFeature.types.ts:191

Resets the sorting state to initialState.sorting, or true can be passed to force a default blank state reset to [].

Parameters

defaultState?

boolean

Returns

void


setSorting()

ts
setSorting: (updater) => void;

Defined in: features/row-sorting/rowSortingFeature.types.ts:195

Sets or updates the state.sorting state.

Parameters

updater

Updater<SortingState>

Returns

void