Hello,
I have a treegrid and i need to set a background color of the rows that are open.
So i am using the following code:
Unfortunately it is not working. Is there another way to do this or am i doing something wrong?
I have a treegrid and i need to set a background color of the rows that are open.
So i am using the following code:
Code:
for ( i = 0; i < menuTree.data.root.children.length; i++ ) { if ( menuTree.data.root.children[i].isOpen ) { menuTree.data.root.children[i].setBackgroundColor( '#f3f3f3' ); } }
Comment