-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
sheet_to_csv skips first blank line with blankrows: true option #2752
Comments
This is an The simplest fix is to pin the starting point to the origin in https://github.com/SheetJS/sheetjs/blob/master/bits/27_csfutils.js#L176 (we'll accept a PR): 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);
} |
Is the issue still open? I would like to take it up if that is the case. |
…true option sheet_to_csv skips first blank line with blankrows: true option
Is the issue still open? I would like to take it up if that is the case. |
Hi @pibi , |
is it still open? |
Has this issue been solved? I am seeing a PR request for a fix. If the issue has not been solved I would like to take it up. |
"Hello, I have a solution for this issue. If it has not been solved yet, I would love to solve it." |
by using Array(7).fill('') as a blank row we can solve this issue |
could you assign this issue to me? @pibi |
sheet_to_csv skips the first blank line of a sheet, even with an explicit
{blankrows: true}
set.Code sample:
Result:
Expected:
The text was updated successfully, but these errors were encountered: