showing results for - "spreadjs autofit column with minimum"
Jacinda
30 Feb 2016
1var _oldFn = GC.Spread.Sheets.CellTypes.Base.prototype.getAutoFitWidth;
2GC.Spread.Sheets.CellTypes.Base.prototype.getAutoFitWidth = function() {
3  let minWidth = 100;
4  let width = _oldFn.apply(this, arguments);
5  return Math.max(minWidth, width);
6};