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

Table_RowModels_Faceted

Interface: Table_RowModels_Faceted<TFeatures, TData>

Defined in: features/column-faceting/columnFacetingFeature.types.ts:24

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

getFacetedMinMaxValues()

ts
getFacetedMinMaxValues: () => [number, number] | undefined;

Defined in: features/column-faceting/columnFacetingFeature.types.ts:32

A function that computes and returns a min/max tuple derived from column.getFacetedRowModel. Useful for displaying faceted result values.

⚠️ Requires that you pass a valid getFacetedMinMaxValues function to options.getFacetedMinMaxValues. A default implementation is provided via the exported getFacetedMinMaxValues function.

Returns

[number, number] | undefined


getFacetedRowModel()

ts
getFacetedRowModel: () => RowModel<TFeatures, TData>;

Defined in: features/column-faceting/columnFacetingFeature.types.ts:37

Returns the row model with all other column filters applied, excluding its own filter. Useful for displaying faceted result counts.

⚠️ Requires that you pass a valid getFacetedRowModel function to options.facetedRowModel. A default implementation is provided via the exported getFacetedRowModel function.

Returns

RowModel<TFeatures, TData>


getFacetedUniqueValues()

ts
getFacetedUniqueValues: () => Map<any, number>;

Defined in: features/column-faceting/columnFacetingFeature.types.ts:42

A function that computes and returns a Map of unique values and their occurrences derived from column.getFacetedRowModel. Useful for displaying faceted result values.

⚠️ Requires that you pass a valid getFacetedUniqueValues function to options.getFacetedUniqueValues. A default implementation is provided via the exported getFacetedUniqueValues function.

Returns

Map<any, number>