Simply read the docs for Tree: there are APIs such as openFolder().
To change row-level styling, look at getBaseStyle and getCellCSSText() on ListGrid (TreeGrid's superclass).
Announcement
Collapse
No announcement yet.
X
-
TreeGrid - open one node and change background color parent node
Hi, I have two questions.
I have this situation:
How to open with js code only treeGrid record with the black arrow?
To open everything I know: "openAll ()", to close: "closeAll ()".
For example, I have a "myTreeGrid" treegrid, to open everything:
myTreeGrid.data.openAll ().
And to give the parent node a different backgorund color? The one with the yellow arrow.
Thanks in advance for your help.Tags: None
Leave a comment: