define(["require", "exports", "@syncfusion/ej2-grids"], function (require, exports, ej2_grids_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Resize = (function () {
function Resize(parent) {
ej2_grids_1.Grid.Inject(ej2_grids_1.Resize);
this.parent = parent;
}
Resize.prototype.autoFitColumns = function (fName) {
this.parent.grid.autoFitColumns(fName);
};
Resize.prototype.getModuleName = function () {
return 'resize';
};
Resize.prototype.destroy = function () {
if (this.parent.isDestroyed) {
return;
}
this.parent.grid.resizeModule.destroy();
};
return Resize;
}());
exports.Resize = Resize;
});
|