JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Menu & Tree › expand treegroup using javascript? › Reply To: expand treegroup using javascript?
November 27, 2021 at 3:01 pm
#102598
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/