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
Static Functions API Reference

table_getGlobalFacetedRowModel

Function: table_getGlobalFacetedRowModel()

ts
function table_getGlobalFacetedRowModel<TFeatures, TData>(table): RowModel<TFeatures, TData>;
function table_getGlobalFacetedRowModel<TFeatures, TData>(table): RowModel<TFeatures, TData>;

Defined in: features/column-faceting/columnFacetingFeature.utils.ts:116

Computes the row model used to derive global facet values.

The global context is requested with the internal __global__ column id. If no faceted row-model factory is registered, the pre-filtered row model is returned.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

RowModel<TFeatures, TData>

Example

ts
const rows = table_getGlobalFacetedRowModel(table)
const rows = table_getGlobalFacetedRowModel(table)