Multiple node selection in wijmo tree

Posted by: nilesh_nichal on 20 April 2021, 1:53 am EST

    • Post Options:
    • Link

    Posted 20 April 2021, 1:53 am EST

    Hi Team,

    We are using wijmo tree in our application. We have a use-case where we have to select multiple tree nodes at once by simply using ctrl + click.

    Is there a way to select multiple nodes at once.

    We saw doing it with checkboxes as given in some demos, but we don’t need checkboxes in our tree.

    Let us know if you have some solution for the same.

  • Posted 22 April 2021, 1:36 am EST

    Hi,

    There is no direct method or property to multiple selections through ctrl + click, As an alternative, you can add checkboxes to the nodes, and using loadedItems event you can set their display to none.

    Please refer to the sample demonstrating the same: https://codesandbox.io/s/bold-brook-vpjg8?file=/src/index.js

    API reference: https://www.grapecity.com/wijmo/api/classes/wijmo_nav.treeview.html#loadeditems

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels