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
Static Functions API Reference
Legacy API Reference

table_reset

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

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

Resets all internal table base atoms to table.initialState, then clears transient instance data through registered feature reset hooks.

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)