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

TableOptions

Type Alias: TableOptions<TFeatures, TData>

ts
type TableOptions<TFeatures, TData> = TableOptions_Core<TFeatures, TData> & UnionToIntersection<
  | "columnFilteringFeature" extends keyof TFeatures ? TableOptions_ColumnFiltering<TFeatures, TData> : never
  | "columnGroupingFeature" extends keyof TFeatures ? TableOptions_ColumnGrouping : never
  | "columnOrderingFeature" extends keyof TFeatures ? TableOptions_ColumnOrdering : never
  | "columnPinningFeature" extends keyof TFeatures ? TableOptions_ColumnPinning : never
  | "columnResizingFeature" extends keyof TFeatures ? TableOptions_ColumnResizing : never
  | "columnSizingFeature" extends keyof TFeatures ? TableOptions_ColumnSizing : never
  | "columnVisibilityFeature" extends keyof TFeatures ? TableOptions_ColumnVisibility : never
  | "globalFilteringFeature" extends keyof TFeatures ? TableOptions_GlobalFiltering<TFeatures, TData> : never
  | "rowExpandingFeature" extends keyof TFeatures ? TableOptions_RowExpanding<TFeatures, TData> : never
  | "rowPaginationFeature" extends keyof TFeatures ? TableOptions_RowPagination : never
  | "rowPinningFeature" extends keyof TFeatures ? TableOptions_RowPinning<TFeatures, TData> : never
  | "rowSelectionFeature" extends keyof TFeatures ? TableOptions_RowSelection<TFeatures, TData> : never
| "rowSortingFeature" extends keyof TFeatures ? TableOptions_RowSorting : never> & ExtractFeatureTypes<"TableOptions", TFeatures> & TableOptions_Plugins<TFeatures, TData> & DebugOptions<TFeatures>;
type TableOptions<TFeatures, TData> = TableOptions_Core<TFeatures, TData> & UnionToIntersection<
  | "columnFilteringFeature" extends keyof TFeatures ? TableOptions_ColumnFiltering<TFeatures, TData> : never
  | "columnGroupingFeature" extends keyof TFeatures ? TableOptions_ColumnGrouping : never
  | "columnOrderingFeature" extends keyof TFeatures ? TableOptions_ColumnOrdering : never
  | "columnPinningFeature" extends keyof TFeatures ? TableOptions_ColumnPinning : never
  | "columnResizingFeature" extends keyof TFeatures ? TableOptions_ColumnResizing : never
  | "columnSizingFeature" extends keyof TFeatures ? TableOptions_ColumnSizing : never
  | "columnVisibilityFeature" extends keyof TFeatures ? TableOptions_ColumnVisibility : never
  | "globalFilteringFeature" extends keyof TFeatures ? TableOptions_GlobalFiltering<TFeatures, TData> : never
  | "rowExpandingFeature" extends keyof TFeatures ? TableOptions_RowExpanding<TFeatures, TData> : never
  | "rowPaginationFeature" extends keyof TFeatures ? TableOptions_RowPagination : never
  | "rowPinningFeature" extends keyof TFeatures ? TableOptions_RowPinning<TFeatures, TData> : never
  | "rowSelectionFeature" extends keyof TFeatures ? TableOptions_RowSelection<TFeatures, TData> : never
| "rowSortingFeature" extends keyof TFeatures ? TableOptions_RowSorting : never> & ExtractFeatureTypes<"TableOptions", TFeatures> & TableOptions_Plugins<TFeatures, TData> & DebugOptions<TFeatures>;

Defined in: types/TableOptions.ts:62

Complete table options for a specific feature set.

Feature options are included only when their feature is present in TFeatures, then custom feature/plugin options and debug options are mixed in.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData