Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 07, 2007 11:13
open dhtmlx forum
To save space when any sub-level element is selected, I would like to collapse all other elements on the sam...

To save space when any sub-level element is selected, I would like to collapse all other elements on the same level.  Is there an easy way to do so?  Example: If I select "Marketing", the elements "Credit" and "Small Business" should disappear.
Answer posted on Mar 07, 2007 11:14
You can define custom function and attach it to onOpen event. In such case you can close all child items from that handler each time when user will try to open item.
Answer posted by Embre (Support) on Dec 04, 2014 22:47

I hope this information will be enough for you. But you also can have a look at open gantt chart and php ajax file uploader.