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.

65 lines (64 loc) 1.51 kB
import { PivotView } from '../../pivotview/base/pivotview'; import { Dialog } from '@syncfusion/ej2-popups'; import { IAction } from '../base/interface'; /** * Module to render NumberFormatting Dialog */ export declare class NumberFormatting implements IAction { /** @hidden */ parent: PivotView; /** @hidden */ dialog: Dialog; private customText; private customLable; private newFormat; private lastFormattedValue; constructor(parent?: PivotView); /** * To get module name. * * @returns {string} - It returns Module Name */ protected getModuleName(): string; /** * To show Number Formatting dialog. * * @returns {void} * @hidden */ showNumberFormattingDialog(): void; private getDialogContent; private renderControls; private valueChange; private updateFormattingDialog; private customUpdate; private dropDownChange; private groupingChange; private getIndexValue; private decimalChange; private formattedText; private removeDialog; private updateFormatting; private insertFormat; /** * To add event listener. * * @returns {void} * @hidden */ addEventListener(): void; /** * To remove event listener. * * @returns {void} * @hidden */ removeEventListener(): void; /** * To destroy the calculated field dialog * * @returns {void} * @hidden */ destroy(): void; }