Consider reinterpreting blankrows to treat "" as empty #2836

Open
opened 2022-12-06 23:43:39 +00:00 by sheetjs · 0 comments
Owner
var ws = XLSX.utils.aoa_to_sheet([
  ["a","b"], // "a" , "b"
  ["",]      // (blank string), (no value)
]);
var result = XLSX.utils.sheet_to_json(ws);

Currently the result is an array with one element { a: "" } . It might make sense to skip the row if blankrows is true.

```js var ws = XLSX.utils.aoa_to_sheet([ ["a","b"], // "a" , "b" ["",] // (blank string), (no value) ]); var result = XLSX.utils.sheet_to_json(ws); ``` Currently the result is an array with one element `{ a: "" }` . It might make sense to skip the row if `blankrows` is true.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#2836
No description provided.