Skip to Content

Child selection when parent is getting selected in a tree table control.

Hi All,

I need to select the child node checkbox when parent node checkbox is getting selected.

Can anyone tell me how can this be achieved.

I have taken the reference of many blogs but not working. Need Guidance!

https://answers.sap.com/questions/12626922/child-selection-on-parent-selection-in-tree-table.html

https://stackoverflow.com/questions/46219685/sapui5-treetable-select-children-when-parent-is-selected

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Nov 08, 2019 at 06:15 AM

    Hi Sandeep,

    It is much better to share your code or add some screenshots and more details so that we can help you more. In line with this, I would like to inquire if you have checked this link already if not you can use it as reference.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 08, 2019 at 09:47 AM

    Hi Sandeep,

    I've the same issue. The solution for me (not yet implemented) is create a new attribute of object (node) : selected : false.
    And calculate it with javascript. :-/

    It's the only way maybe.

    Sebastiano

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.