UNPKG

@syncfusion/ej2-treegrid

Version:
35 lines (34 loc) 923 B
import { Grid, ColumnMenu as GridColumnMenu } from '@syncfusion/ej2-grids'; /** * TreeGrid ColumnMenu module * * @hidden */ var ColumnMenu = /** @class */ (function () { /** * Constructor for render module * * @param {TreeGrid} parent - Tree Grid instance */ function ColumnMenu(parent) { Grid.Inject(GridColumnMenu); this.parent = parent; } ColumnMenu.prototype.getColumnMenu = function () { return this.parent.grid.columnMenuModule.getColumnMenu(); }; ColumnMenu.prototype.destroy = function () { //this.parent.grid.columnMenuModule.destroy(); }; /** * For internal use only - Get the module name. * * @private * @returns {string} Returns ColumnMenu module name */ ColumnMenu.prototype.getModuleName = function () { return 'columnMenu'; }; return ColumnMenu; }()); export { ColumnMenu };