Tanstack table
Can I add style to column group border in tanstack table?

3 Replies
If I'm understanding the question right, I don't think you can style directly on the column group.
I would create an array of each column group and then check if each column is in that array in the column def. Then if that column is, then apply the right border you're looking for (as long as it's not the last column I'm assuming).
Okay I got it
that gives you something like this

to not show a border on the last group, just exclude those column IDs from the list
LMK if that works and if it makes any sense for your problem! 😁