DiscreteGroupItem

DiscreteGroupItem class

Represents an item of custom grouped field.

class DiscreteGroupItem;

Constructors

NameDescription
constructor(string, number[])The constructor of custom group item of pivot field.
constructor(string, string[])The constructor of custom group item of pivot field.

constructor(string, number[])

The constructor of custom group item of pivot field.

constructor(name: string, itemIndexes: number[]);

Parameters:

ParameterTypeDescription
namestringThe name of group item
itemIndexesnumber[]All indexes to the items of base pivot field.

constructor(string, string[])

The constructor of custom group item of pivot field.

constructor(name: string, items: string[]);

Parameters:

ParameterTypeDescription
namestringThe name of group item
itemsstring[]The captions of pivot items that belong to this discrete group.