all files / treegrid/actions/ column-chooser.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         11395×        
define(["require", "exports", "@syncfusion/ej2-grids"], function (require, exports, ej2_grids_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var ColumnChooser = (function () {
        function ColumnChooser(parent) {
            ej2_grids_1.Grid.Inject(ej2_grids_1.ColumnChooser);
            this.parent = parent;
        }
        ColumnChooser.prototype.openColumnChooser = function (X, Y) {
            return this.parent.grid.columnChooserModule.openColumnChooser(X, Y);
        };
        ColumnChooser.prototype.destroy = function () {
        };
        ColumnChooser.prototype.getModuleName = function () {
            return 'ColumnChooser';
        };
        return ColumnChooser;
    }());
    exports.ColumnChooser = ColumnChooser;
});