Browse Source

Merge pull request #1015 from idsulik/fix-compute-rowlen-by-content

fix: computeRowlenByContent function, skip hidden columns
master
mengshukeji 3 years ago
committed by GitHub
parent
commit
a31aa44558
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/global/getRowlen.js

4
src/global/getRowlen.js

@ -116,6 +116,10 @@ function computeRowlenByContent(d, r) {
}
}
if(Store.config["colhidden"] != null && Store.config["colhidden"][c] != null){
continue;
}
if(cell != null && (cell.v != null || isInlineStringCell(cell)) ){
let cellWidth = computeCellWidth(cell, c);

Loading…
Cancel
Save