6 Answers, 1 is accepted
Try the following client side code in "OnHierarchyExpanded" event to change the background color of row, when expanding.
I missed to mention that, I am using HierarchyLoadMode as "ClientSide" in my application and since the client side event fires when expanding the row. If you are using ServerBind option, then try the following code and see whether it helps.
how can i revert the backcolr if its not expanded anymore?
I have modified the above code in order to achieve the required functionality. Give a try with this code.
I know this is an old thread but I hope I could still get some help.
I tried this code and when i firebug i can see that the background -color attribute has been set to red but the grid still shows the same background color.
My grid has load mode = Client and the event is firing after expanded but the color doesnt change;