UNPKG

@syncfusion/ej2-treegrid

Version:
37 lines (36 loc) 1.04 kB
/** * clipboard.ts file */ import { TreeGrid } from '../base/treegrid'; import { Clipboard as GridClipboard, ServiceLocator } from '@syncfusion/ej2-grids'; /** * The `Clipboard` module is used to handle clipboard copy action. * * @hidden */ export declare class TreeClipboard extends GridClipboard { private treeGridParent; private treeCopyContent; private copiedUniqueIdCollection; protected serviceLocator: ServiceLocator; constructor(parent?: TreeGrid, serviceLocator?: ServiceLocator); protected setCopyData(withHeader?: boolean): void; private parentContentData; copy(withHeader?: boolean): void; paste(data: string, rowIndex: number, colIndex: number): void; /** * For internal use only - Get the module name. * * @private * @returns {string} Returns clipboard module name */ protected getModuleName(): string; /** * To destroy the clipboard * * @returns {void} * @hidden */ destroy(): void; private childContentData; }