Is there any way in a CellTree to apply different styles to a Leaf node vs.
a Closed non-leaf node? I see separate styles for open nodes, but no way
to tell between the other two.
So far the best I've come up with are:
* Use a CSS sibling selector such as:
.cellTreeItemImage + .cellTreeItemValue { ... }
* Add styling inside my AbstractCell.render() method based on the
isLeaf() method.
However, both of these come with the limitation that I can only style my
.cellTreeItemValue and .cellTreeItemImage nodes, not the parent
.cellTreeItem or .cellTreeItemImageValue nodes.
Does anyone else know of a better way to do this? Is it possible to extend
the CellTree renderer to apply a specific style to leaf nodes?
Thanks,
Eric
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/ZYzb-BJLMg4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.