Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
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
Static Functions API Reference
Legacy API Reference
Static Functions API Reference

table_reset

Function: table_reset()

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

Defined in: core/table/coreTablesFeature.utils.ts:53

Resets all internal table base atoms to table.initialState.

This resets internally owned state slices in a single reactivity batch. Use feature-specific reset APIs when a slice may be externally owned.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

void

Example

ts
table_reset(table)
table_reset(table)