Using th to control table-pin-cols is inconvenient #3220
bogdan
started this conversation in
Ideas / feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently
table-pin-cols
expects certain rows to use<th>
instead of</td>
to be sticky. This is inconvenient for a number of reasons:th
has a default styling from browser that you might not wantth
anymore even though they are header cells.td
andth
based on stickiness leads to complexity in code. I can imagine it can be even harder in react.Example of it looks like in my source code:
I think it would be so much better to control stickiness with a class like
table-cell-sticky
than a tag.Beta Was this translation helpful? Give feedback.
All reactions