Skip to main content

table_getGlobalFacetedMinMaxValues

还没翻译译自英文(tanstack.com)本页 15 段都还没译

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

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

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

const range = table_getGlobalFacetedMinMaxValues(table)