The range option #2904

Closed
opened 2023-03-24 11:27:00 +00:00 by src-rodrigues · 2 comments

What does the range option in the Sheet2JSONOpts options, when using the to_json method. How to use this option?

image

stream.to_json(ws, { blankrows: false, range: ??? });

What does the `range` option in the `Sheet2JSONOpts` options, when using the `to_json` method. How to use this option? ![image](/attachments/b64978c1-ecd9-4fd3-a476-e385ea110a6c) `stream.to_json(ws, { blankrows: false, range: ??? });`
Owner

FYI it's explained in the documentation https://docs.sheetjs.com/docs/api/utilities#array-output -- range controls the range of cells that will be exported. We can add a link in the type definitions if that makes things clearer.

FYI it's explained in the documentation https://docs.sheetjs.com/docs/api/utilities#array-output -- range controls the range of cells that will be exported. We can add a link in the type definitions if that makes things clearer.
Author

yeah, add link is a good idea, thanks!

yeah, add link is a good idea, thanks!
Sign in to join this conversation.
No Milestone
No Assignees
2 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#2904
No description provided.