GroupHeaderViewerContext

Description

A GroupHeaderViewerContext is an interface used to define a ViewerContext that targets a group header.

Properties

Property

Type

Description

type

ViewerContextType.GroupHeader

The type of the ViewerContext.

value

any

The value that represents the group.

dataItemsCount

number

The number of data items in the group

format

Formatter

The format to apply to the group value

columnDefinition

ReadonlyColumnDefinition

The associated ColumnDefinition.

groupConfiguration

ReadonlyGroupConfiguration

The associated GroupConfiguration.

Functions

Function

Argument(s)

Output

Description

getTitleFormPart

key: string

string | undefined

Returns the text defined in the TextDefinitionCollection for the provided key, undefined if the key is not found.