Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
Neon
WorkOS
Clerk
Convex
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
Legacy API Reference
Enterprise
Features API Reference

TableOptions_RowSelection

Interface: TableOptions_RowSelection<TFeatures, TData>

Defined in: features/row-selection/rowSelectionFeature.types.ts:12

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

enableMultiRowSelection?

ts
optional enableMultiRowSelection: boolean | (row) => boolean;

Defined in: features/row-selection/rowSelectionFeature.types.ts:20

  • Enables/disables multiple row selection for all rows in the table OR
  • A function that given a row, returns whether to enable/disable multiple row selection for that row's children/grandchildren

enableRowSelection?

ts
optional enableRowSelection: boolean | (row) => boolean;

Defined in: features/row-selection/rowSelectionFeature.types.ts:25

  • Enables/disables row selection for all rows in the table OR
  • A function that given a row, returns whether to enable/disable row selection for that row

enableSubRowSelection?

ts
optional enableSubRowSelection: boolean | (row) => boolean;

Defined in: features/row-selection/rowSelectionFeature.types.ts:30

Enables/disables automatic sub-row selection when a parent row is selected, or a function that enables/disables automatic sub-row selection for each row. (Use in combination with expanding or grouping features)


onRowSelectionChange?

ts
optional onRowSelectionChange: OnChangeFn<RowSelectionState>;

Defined in: features/row-selection/rowSelectionFeature.types.ts:34

If provided, this function will be called with an updaterFn when state.rowSelection changes. This overrides the default internal state management, so you will need to persist the state change either fully or partially outside of the table.