Tree View widget styling

2
Is there a way to style the rows in a the Tree View widget based on the tree level? It seems that all styling applied is now applicable for all levels in the tree.
asked
1 answers
3

If your structure is not recursive, you can just assign additional classes and styling to properties that define your entities / relations.

Otherwise you could use css selectors that nest, the following example assigns the color red at the third level (and subsequent levels, use the '>' selector to avoid that):

.gg_row .gg_row .gg_row {
  color: red;
}
answered