spreadjs autofit column with minimum code example
Example: spreadjs autofit column with minimum
var _oldFn = GC.Spread.Sheets.CellTypes.Base.prototype.getAutoFitWidth;
GC.Spread.Sheets.CellTypes.Base.prototype.getAutoFitWidth = function() {
let minWidth = 100;
let width = _oldFn.apply(this, arguments);
return Math.max(minWidth, width);
};