!rows数组中的数据有缺失 #3091

Closed
opened 2024-03-21 08:49:24 +00:00 by Kerwin · 3 comments

我使用这个方式 XLSX.read(data, {type: 'binary', cellStyles: true}) 读取出来了每一个 sheet 中的 !rows 和 !cols 数据,但是在我查询其中一个 sheet 的数据时,发现 !rows 数组中的数据时缺失的。Example,长度为5的数组,索引应该为 0, 1, 2, 3, 4. 可是现在显示出来的只有 0, 1, 4。

我使用这个方式 XLSX.read(data, {type: 'binary', cellStyles: true}) 读取出来了每一个 sheet 中的 !rows 和 !cols 数据,但是在我查询其中一个 sheet 的数据时,发现 !rows 数组中的数据时缺失的。Example,长度为5的数组,索引应该为 0, 1, 2, 3, 4. 可是现在显示出来的只有 0, 1, 4。
Author

当我把这几行在 Excel 中 hidden 起来之后,反而可以显示出来 hidden 的属性,但是其他的属性就不显示了

当我把这几行在 Excel 中 hidden 起来之后,反而可以显示出来 hidden 的属性,但是其他的属性就不显示了
Owner

The !rows metadata is only available for rows that use custom row heights or visibility settings. If you can share a file, we can take a closer look.

The `!rows` metadata is only available for rows that use custom row heights or visibility settings. If you can share a file, we can take a closer look.
Author

Sorry, the file is confidential. Can't share it with you. Thank you for your reply. I will try your suggestion.

Sorry, the file is confidential. Can't share it with you. Thank you for your reply. I will try your suggestion.
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#3091
No description provided.