UNPKG

@syncfusion/ej2-pivotview

Version:

The pivot grid, or pivot table, is used to visualize large sets of relational data in a cross-tabular format, similar to an Excel pivot table.

39 lines (38 loc) 968 B
import { PivotView } from '../../pivotview/base/pivotview'; import { PivotFieldList } from '../../pivotfieldlist/base/field-list'; import { ContextMenu } from '@syncfusion/ej2-navigations'; /** * Module to render Pivot button */ /** @hidden */ export declare class PivotContextMenu { /** @hidden */ parent: PivotView | PivotFieldList; /** @hidden */ menuObj: ContextMenu; /** @hidden */ fieldElement: HTMLElement; /** * Constructor for render module * * @param {PivotView | PivotFieldList} parent - parent * */ constructor(parent: PivotView | PivotFieldList); /** * Initialize the pivot table rendering * * @returns {void} * @private */ render(): void; private renderContextMenu; private onBeforeMenuOpen; private onSelectContextMenu; /** * To destroy the pivot button event listener * * @returns {void} * @hidden */ destroy(): void; }