We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Make a DropDown Tree invisible


I need to make a dropdrown tree appear and disappear on the page, but I am not finding the properties that alow me to make them visible/invisible.

Maybe anyone has had the same problem and could give me a hand?



1 Reply

IL Indhumathy Loganathan Syncfusion Team May 1, 2023 02:35 PM UTC

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.


        //Hide the popup.



Try the suggestion at your end and get back to us if you need any further assistance.


Indhumathy L

Live Chat Icon For mobile
Up arrow icon