Docs
Cloudflare
CodeRabbit
Railway
OpenRouter
SerpAPI
Netlify
Clerk
WorkOS
AG Grid
Unkey
Prisma
Sentry
Electric
Cloudflare
CodeRabbit
Railway
OpenRouter
SerpAPI
Netlify
Clerk
WorkOS
AG Grid
Unkey
Prisma
Sentry
Electric
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_getGlobalFacetedMinMaxValues

Function: table_getGlobalFacetedMinMaxValues()

ts
function table_getGlobalFacetedMinMaxValues<TFeatures, TData>(table): [number, number] | undefined;
function table_getGlobalFacetedMinMaxValues<TFeatures, TData>(table): [number, number] | undefined;

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

Computes min and max numeric facet values for the global filter context.

The global context is requested with the internal __global__ column id. If no factory is registered, the result is undefined.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

[number, number] | undefined

Example

ts
const range = table_getGlobalFacetedMinMaxValues(table)
const range = table_getGlobalFacetedMinMaxValues(table)