How can I identify a column as the first visible in a group? #5819
Unanswered
tdsultratom
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I haven't implemented any pinning, but I have 2 headerGroups.
header.column.getIsFirstColumn() appears specifically for pinning, and out of the box only returns true for the very first column of the row.
If I pre-inject with some meta to check later, then that gets tricky to manager if any column ordering or hiding is implemented.
Is there a way to identify a column header as the first in it's group?
Example use-case adding a CSS class to the
<th>
:Beta Was this translation helpful? Give feedback.
All reactions