Style RowGroup Headlines
Style RowGroup Headlines
chogger
Posts: 15Questions: 4Answers: 0
Hello Guys,
i try to style the RowGroup Headlines, starting from the second appearance.
The normal styling is made though css
Code:
.datatables tr.group td
{
font-weight:bold;
padding-left: 16px;
}
I then tried to work with :nth but it doesn't seam to work?
Any ideas how i can change the second and following group headers without changing the first one?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Do you have a
datatables
class on your table?If you can link to a page showing the issue that would be useful.
Assuming the row grouping is shown above the group you could use
tr.group:not(:first-child)
as part of your CSS selector.Allan
Sorry for the late response..! Thank you, that was the right hint:
tr.group:not(:first-child) td
is what i was looking for