A function for merging header cells using rowSpan. #5201
Unanswered
HwangInUng
asked this question in
Ideas
Replies: 1 comment
-
Hi! If it's still actual - I solved it and packaged it into a tiny npm library. Really simple to use — you can rowspan both the header and footer, with table and non-table tr/th elements. Check it out!:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The header object has the 'rowSpan' property, but there is an issue where it is not applied even when defined through 'columnHelper'.
Therefore, I have written a function as follows that compares the length of the header group generated by 'columnHelper.group' and returns 'rowSpan.' There are still many areas that need improvement, and a lot of refactoring is pending, so feedback from many people is needed.
Information
Code : JavaScript
columns example
Usage example
Result

Beta Was this translation helpful? Give feedback.
All reactions