Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Problem UltraWebGred oRow.setExpanded()
posted

Hi mates,

I have a hierarchical ultrawebgrid (4 levels of hierarchic) and i would like to when i open de window of the grid, i could see the grid expanded on the level i want. For expand only the second level there aren't any problems because i only have to put one oRow.setExpanded(true), but when i want to expand the third or the fourth level, that means i have to first expand the second level, after the third,..in this order. I tried to put next setExpandeds in the client-event AfterRowExpanded(gridName,rowId) but that give me an error because can't find the row (row = null) that i want to make the second setExpanded.

Can anybody help me?

 Marc

Parents
No Data
Reply
  • 385
    posted

    Hi, I had the same issue where to place the code to auto expand the 2 levels I had. I placed the code in the UltraWebGrid pre-render event and it worked fine. I also think that you have to use : oRow.Expand(True) property

     and not the Expanded property. But I cannot test it out now for you so fast. So let me know if it works.

    Good-luck

    - Arjan -

     

Children
No Data