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

getDefaultExpandedState

Function: getDefaultExpandedState()

ts
function getDefaultExpandedState(): ExpandedState;
function getDefaultExpandedState(): ExpandedState;

Defined in: features/row-expanding/rowExpandingFeature.utils.ts:22

Creates the default expanded state.

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

Returns

ExpandedState

Example

ts
const expanded = getDefaultExpandedState()
const expanded = getDefaultExpandedState()