Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jul 05, 2008 02:21
open dhtmlx forum
i do not want to collapse tree.i want alway's open tree with all chiled node

i do not want to collapse tree.i want alway's open tree with all chiled node

how can i restrict to collapse event or disable collapse.


Thanks,

Answer posted by Stanislav on Jul 05, 2008 05:11
There is a tree.setItemCloseable method
    tree.setItemCloseable(id,false);
will deny item closing
Also, there is a related XML attribute
    <item open="true" closeable="false"  ...