Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 07, 2007 11:14
open dhtmlx forum
When I click on an element with sub-elements, how can I make the script expand it (like clicking on the "+...

When I click on an element with sub-elements, how can I make the script expand it (like clicking on the "+" icon?
Answer posted on Mar 07, 2007 11:15

You can define custom onClick event and call opent item from it

            tree.setOnClickHandler(function(id){

                        tree.openItem(id);

                        return true;

            });

this code need to be called before XML loading.
Answer posted by Darya (Support) on Dec 10, 2014 03:24

If you haven't found the needed information there and still looking for a solution, you will find the additional help checking free date picker in javascript and javascript framework ui.