@true-directive/base
Version:
The set of base classes for the TrueDirective Grid
19 lines (18 loc) • 463 B
JavaScript
/**
* Column group
*/
var ColumnBand = /** @class */ (function () {
function ColumnBand(caption, columns, width) {
this.caption = caption;
this.columns = columns;
this.width = width;
}
ColumnBand.prototype.removeColumn = function (c) {
var i = this.columns.indexOf(c);
if (i >= 0) {
this.columns.splice(i, 1);
}
};
return ColumnBand;
}());
export { ColumnBand };