sheet_to_html doesn't honor hidden flag on row or column #1198
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#1198
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a use case where I want to present a subset of columns to a user. The easiest way would be to augment my in-memory sheet with something like:
It looks like the sheet_to_csv honors that via an option, but the support just isn't there in the sheet_to_html. It seems like an easy enough feature to add, but I'd be grateful for confirmation this is the correct approach and the feature doesn't exist before diving in.
I think it's as simple as making a check at https://github.com/SheetJS/js-xlsx/blob/master/xlsx.js#L18140 against the options array and ws['!cols'][C].hidden, right?