InFilterLabelContext

View as Markdown

Context passed to when customising the collapsed IN Filter label.

TypeScript
export interface InFilterLabelContext extends
Extends

BaseContext

Properties

PropertyTypeDescription
selectedCountnumberNumber of selected items.

For tree-shaped filters, this is the number of selected leaves (not parent nodes).
selectedValuesInFilterValue[]Currently selected items, in selection order.

For tree-shaped filters (group columns and date columns), each selected leaf
is one entry: its value is the full leaf path and its label the joined
path label.
adaptableContextanyCustom application Context provided in AdaptableOptions.adaptableContext

Property Details

selectedCount

Number of selected items.

For tree-shaped filters, this is the number of selected leaves (not parent nodes).

TypeScript
selectedCount: number;
Property Value

number

selectedValues

Currently selected items, in selection order.

For tree-shaped filters (group columns and date columns), each selected leaf is one entry: its value is the full leaf path and its label the joined path label.

TypeScript
selectedValues: InFilterValue[];
Property Value

InFilterValue[]

adaptableContext

Inherited from BaseContext

Custom application Context provided in AdaptableOptions.adaptableContext

TypeScript
adaptableContext: any;
Property Value

any