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

CellSelectionRange

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

A single rectangular cell selection, stored as its two defining corners.

The anchor corner stays put while the focus corner moves during a shift-extend or a drag, so the pair carries strictly more information than a normalized min/max rectangle would. Corners are stored as flat row and column ids rather than nested objects or a packed rowId_columnId key, because getRowId is user-supplied and may return ids containing any separator.

Properties

anchorColumnId

ts
anchorColumnId: string;
anchorColumnId: string;

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


anchorRowId

ts
anchorRowId: string;
anchorRowId: string;

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


focusColumnId

ts
focusColumnId: string;
focusColumnId: string;

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


focusRowId

ts
focusRowId: string;
focusRowId: string;

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


operation?

ts
optional operation?: CellSelectionRangeOperation;
optional operation?: CellSelectionRangeOperation;

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

How this range changes the selection produced by the ranges before it. Defaults to include.