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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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); |
|
|
|