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

CellSelectionState

ts
type CellSelectionState = CellSelectionRange[];
type CellSelectionState = CellSelectionRange[];

Defined in: features/cell-selection/cellSelectionFeature.types.ts:41

Ordered range operations that produce the final selection. The last entry is the active operation that shift-extend and drag operate on.

A bare array, matching SortingState and ColumnFiltersState. Drag session state deliberately lives outside this slice as non-reactive instance data, so nothing here is transient and the whole slice is safe to persist.