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
Table API Reference

TableState

Type Alias: TableState<TFeatures>

ts
type TableState<TFeatures> = UnionToIntersection<
  | "columnFilteringFeature" extends keyof TFeatures ? TableState_ColumnFiltering : never
  | "columnGroupingFeature" extends keyof TFeatures ? TableState_ColumnGrouping : never
  | "columnOrderingFeature" extends keyof TFeatures ? TableState_ColumnOrdering : never
  | "columnPinningFeature" extends keyof TFeatures ? TableState_ColumnPinning : never
  | "columnResizingFeature" extends keyof TFeatures ? TableState_ColumnResizing : never
  | "columnSizingFeature" extends keyof TFeatures ? TableState_ColumnSizing : never
  | "columnVisibilityFeature" extends keyof TFeatures ? TableState_ColumnVisibility : never
  | "globalFilteringFeature" extends keyof TFeatures ? TableState_GlobalFiltering : never
  | "rowExpandingFeature" extends keyof TFeatures ? TableState_RowExpanding : never
  | "rowPaginationFeature" extends keyof TFeatures ? TableState_RowPagination : never
  | "rowPinningFeature" extends keyof TFeatures ? TableState_RowPinning : never
  | "rowSelectionFeature" extends keyof TFeatures ? TableState_RowSelection : never
| "rowSortingFeature" extends keyof TFeatures ? TableState_RowSorting : never> & ExtractFeatureTypes<"TableState", TFeatures> & TableState_Plugins<TFeatures>;
type TableState<TFeatures> = UnionToIntersection<
  | "columnFilteringFeature" extends keyof TFeatures ? TableState_ColumnFiltering : never
  | "columnGroupingFeature" extends keyof TFeatures ? TableState_ColumnGrouping : never
  | "columnOrderingFeature" extends keyof TFeatures ? TableState_ColumnOrdering : never
  | "columnPinningFeature" extends keyof TFeatures ? TableState_ColumnPinning : never
  | "columnResizingFeature" extends keyof TFeatures ? TableState_ColumnResizing : never
  | "columnSizingFeature" extends keyof TFeatures ? TableState_ColumnSizing : never
  | "columnVisibilityFeature" extends keyof TFeatures ? TableState_ColumnVisibility : never
  | "globalFilteringFeature" extends keyof TFeatures ? TableState_GlobalFiltering : never
  | "rowExpandingFeature" extends keyof TFeatures ? TableState_RowExpanding : never
  | "rowPaginationFeature" extends keyof TFeatures ? TableState_RowPagination : never
  | "rowPinningFeature" extends keyof TFeatures ? TableState_RowPinning : never
  | "rowSelectionFeature" extends keyof TFeatures ? TableState_RowSelection : never
| "rowSortingFeature" extends keyof TFeatures ? TableState_RowSorting : never> & ExtractFeatureTypes<"TableState", TFeatures> & TableState_Plugins<TFeatures>;

Defined in: types/TableState.ts:29

Complete table state for a specific feature set.

State slices are included only when their feature is present in TFeatures, then custom feature/plugin state is mixed in.

Type Parameters

TFeatures

TFeatures extends TableFeatures