gridjs
gridjs copied to clipboard
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
thead
andtbody
elements. - Inside the
tbody
element, create rows where one or more of the columns usesth
instead of atd
- Create a gridjs instance, using the
from
option in the constructor pointing to the table create above - See that values that were in a
th
element 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