Consider reinterpreting blankrows to treat "" as empty #2836

Open
opened 2 months ago 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 project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#2836
Loading…
There is no content yet.