@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.
30 lines (29 loc) • 1.13 kB
TypeScript
import { DragEventArgs } from '@syncfusion/ej2-base';
import { PivotCommon } from '../base/pivot-common';
import { DragAndDropEventArgs } from '@syncfusion/ej2-navigations';
/**
* `DialogAction` module is used to handle field list dialog related behaviour.
*
*/
/** @hidden */
export declare class NodeStateModified {
/** @hidden */
parent: PivotCommon;
/**
* Constructor for the dialog action.
*
* @param {PivotCommon} parent - It represent the parent data.
* @hidden
*/
constructor(parent?: PivotCommon);
/**
* Updates the dataSource by drag and drop the selected field from either field list or axis table with dropped target position.
*
* @param {DragAndDropEventArgs} args - Contains both pivot button and field list drag and drop information.
* @param {string} fieldName - Defines dropped field name to update dataSource.
* @returns {boolean} true if the node is successfully dropped, otherwise false.
* @hidden
*/
onStateModified(args: DragEventArgs & DragAndDropEventArgs, fieldName: string): boolean;
private getButtonPosition;
}