Hi Alexandre,
Greetings from Syncfusion support.
In the Dropdown Tree, we have showPopup
and hidePopup
methods. These methods are used to open and close the popup dynamically. Check
out the code snippet below.
function onClick(e) {
var ddtObj = document.getElementById("treedata").ej2_instances[0];
//Show the popup.
ddtObj.showPopup();
//Hide the popup.
ddtObj.hidePopup();
}
|
Try the suggestion at your end and get back to us if you
need any further assistance.
Regards,
Indhumathy L