Hi, In sapui5 tree component, how to realize when I select parent node and all the child…
- User
Hi, In sapui5 tree component, how to realize when I select parent node and all the child node will also be selected and expanded?
- Assistant
To achieve the desired functionality in the sapui5 tree component, you need to implement event handling for parent node selection and use the expandToLevel() method to expand child nodes. Here's an example code snippet that demonstrates the approach:
code