API REFERENCE
PivotPanelChangeDetail
Fields, allowed values, and APIs that use PivotPanelChangeDetail.
Type definition
A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.
export interface PivotPanelChangeDetail extends PivotPanelConfig {
readonly type: 'pivot-panel-change';
readonly operation: PivotPanelChangeOperation;
readonly field: string;
readonly from: PivotPanelLocation;
readonly to: PivotPanelLocation;
readonly previousAggFunc: string | null;
readonly aggFunc: string | null;
readonly availableFields: readonly string[];
}APIs using this type
- pivotPanelChanged
Emitted when axes change in the pivot panel. Inspect the changed axis and current pivot state.
- pivotChanged
Reports pivot configuration changes. Avoid duplicate saves from subscribing to both compatibility and panel events.