Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #102597
    Giovanni Zomer
    Participant

    how to programmatically expand a treegroup? I am able to load the subnodes of a group programmatically, but not able to set the group to “expanded”; so the group already contains the data but the user doesn’t see those unless he manually clicks on the icon to expand the group

    #102598
    ivanpeevski
    Participant

    Hi Giovanni,

    You can easily expand a treegroup using the expanded property or by using the expandItem Method (have a look at the API here)

    In the demo below, you can see an example of a programmatically expanded treegroup (“Attractions”) and a group expanded by the expanded property(“Dining”): demo of expanded

    If you have any other questions, please do not hesitate to contact us again!
    Best regards,
    Ivan Peevski
    Smart UI Team
    https://www.htmlelements.com/

    #102604
    Giovanni Zomer
    Participant

    thank you very much! it worked perfectly!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.