ColumnFacetingFeatureState
ColumnFacetingFeatureState:
object
Defined in: core/features/column-faceting.svelte.ts:9
Represents the state for the Column Faceting feature, which holds numeric and categorical facets for each column in the datagrid.
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
_categoricalFacets | Record <ColumnId , { uniqueValues : unknown []; uniqueValuesCount : number ; }> | Stores the categorical facets (unique values and their count) for each column | core/features/column-faceting.svelte.ts:14 |
_numericFacets | Record <ColumnId , { max : number ; min : number ; }> | Stores the numeric facets (min and max values) for each column | core/features/column-faceting.svelte.ts:11 |
recalculateFacetsAfterFiltering | boolean | Flag indicating whether to recalculate facets after filtering | core/features/column-faceting.svelte.ts:17 |