table_getGlobalFacetedMinMaxValues

Function: table_getGlobalFacetedMinMaxValues()

ts
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)