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
65
Expand multiple nodes
posted

Hi,

Is it possible to highlight several nodes in a TreeGrid, and click the expand button of any of the selected nodes, and for all those selected to be expanded.

We are using the TreeHierarchicalDataSource, and the customEncodeUrlFunc to bring back our records.

Cheers ... Rob.

  • 3995
    Offline posted

    Hello Rob,

    You can add a custom class to the rows you want(or you can use the selection feature and it's API to select the rows you want).

    Then you can bind to rowExpanded event and in it go around and expand all the rows with your custom class and use the expandRow API in order to expand them too.