all files / treegrid/actions/ column-menu.js

100% Statements 13/13
100% Branches 0/0
100% Functions 6/6
100% Lines 13/13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21         11279×        
define(["require", "exports", "@syncfusion/ej2-grids"], function (require, exports, ej2_grids_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var ColumnMenu = (function () {
        function ColumnMenu(parent) {
            ej2_grids_1.Grid.Inject(ej2_grids_1.ColumnMenu);
            this.parent = parent;
        }
        ColumnMenu.prototype.getColumnMenu = function () {
            return this.parent.grid.columnMenuModule.getColumnMenu();
        };
        ColumnMenu.prototype.destroy = function () {
        };
        ColumnMenu.prototype.getModuleName = function () {
            return 'columnMenu';
        };
        return ColumnMenu;
    }());
    exports.ColumnMenu = ColumnMenu;
});