Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Issue 2752 where blankrows:true skips first blank line #2815

Open
wants to merge 2 commits into
base: github
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Signed-off-by: abhiram11 <[email protected]>
  • Loading branch information
abhiram11 committed Feb 25, 2023
commit 857860af76303ba306daee7a0ca18b2805a171be
6 changes: 5 additions & 1 deletion bits/27_csfutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,11 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh
}
}
}
if(range.s.c < 10000000) ws['!ref'] = encode_range(range);
if (range.s.c < 10000000) {
if (range.s.c > _C) range.s.c = _C;
if (range.s.r > _R) range.s.r = _R;
ws["!ref"] = encode_range(range);
}
return ws;
}
function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); }
Expand Down