Values in <th> are ignored when using the from option
Describe the bug
If you use the from option with an existing HTML element when creating the grid, values in <th> elements inside the <tbody> are ignored. Remaining values are no longer aligned with their respective columns. See demo at https://codepen.io/kaptajnen/pen/PoEwBBj
To Reproduce Steps to reproduce the behavior:
- Create an HTML table with
theadandtbodyelements. - Inside the
tbodyelement, create rows where one or more of the columns usesthinstead of atd - Create a gridjs instance, using the
fromoption in the constructor pointing to the table create above - See that values that were in a
thelement are missing
Expected behavior
Values in th elements should not disappear
Desktop:
- OS: macOS
- Browser: Chrome
- Version: 99.0.4844.51
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I guess this bug won't get fixed then?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bump