Docs
CodeRabbit
Cloudflare
Railway
WorkOS
SerpAPI
AG Grid
OpenRouter
Clerk
Netlify
Sentry
Electric
Prisma
Unkey
CodeRabbit
Cloudflare
Railway
WorkOS
SerpAPI
AG Grid
OpenRouter
Clerk
Netlify
Sentry
Electric
Prisma
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

getDefaultRowSelectionState

Function: getDefaultRowSelectionState()

ts
function getDefaultRowSelectionState(): RowSelectionState;
function getDefaultRowSelectionState(): RowSelectionState;

Defined in: features/row-selection/rowSelectionFeature.utils.ts:22

Creates the default row selection state.

The feature default is an empty map, meaning no rows are selected. Reset APIs use this value when defaultState is true.

Returns

RowSelectionState

Example

ts
const selection = getDefaultRowSelectionState()
const selection = getDefaultRowSelectionState()