IMenuNext
Configuration for the aggregations menu.
export interface IMenu
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (Optional) If true, grand totals and subtotals can be added to the table using table menu. | ||
boolean | (Optional) If true, subtotals can be added to the table using table menu. | ||
boolean | (Optional) If true, total and subtotals for columns (yes, for columns, although the naming is rows) can be added to the table using table menu. This will be removed in the future, it’s under feature flag control for development purposes. | ||
(Optional) Specifies which aggregation functions can be selected from the menu. | |||
boolean | (Optional) If true, grand total, subtotal, and total-column labels can be renamed from their contextual action menu. The custom label is stored in the ITotal alias. |
Property details
IMenuNext.aggregationsproperty
If true, grand totals and subtotals can be added to the table using table menu.
aggregations?: boolean;
Remarks
Default: false
IMenuNext.aggregationsSubMenuproperty
If true, subtotals can be added to the table using table menu.
aggregationsSubMenu?: boolean;
Remarks
Default: false
IMenuNext.aggregationsSubMenuForRowsproperty
If true, total and subtotals for columns (yes, for columns, although the naming is rows) can be added to the table using table menu. This will be removed in the future, it’s under feature flag control for development purposes.
aggregationsSubMenuForRows?: boolean;
Remarks
Default: false
IMenuNext.aggregationTypesproperty
Specifies which aggregation functions can be selected from the menu.
aggregationTypes?: TotalType[];
Remarks
Note: this option only impacts available menu items. It will not be used to filter totals that you specify on the pivot table props.
Default: all available types.
IMenuNext.totalLabelsEditableproperty
If true, grand total, subtotal, and total-column labels can be renamed from their contextual action menu. The custom label is stored in the ITotal alias.
totalLabelsEditable?: boolean;
Remarks
Intended for editing surfaces that handle visualization property updates through pushData. Default: false