Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jean on Apr 07, 2008 03:35
open dhtmlx forum
Tree - openAllItems / openAllItemsDynamic

Hi,

There are 2 methods to expand a whole tree:
- openAllItems(itemId)
- openAllItemsDynamic(itemId)

1) What makes a tree dynamic?
2) Can we use openAllItemsDynamic even if the tree is NOT dynamic?

Regards,
Jean.
Answer posted by Support on Apr 07, 2008 05:10
>>1) What makes a tree dynamic?

The tree content can load data for branches dynamically, by separate requests. Such behavior can be enabled by
    tree.setXMLAutoLoading(....

>>2) Can we use openAllItemsDynamic even if the tree is NOT dynamic?
Basically yes, but because of some side effects, it is better to use openAllItemsDynamic only against tree which works in dynamic loading mode.
Answer posted by Jean on Apr 07, 2008 07:01

Ok. Thanks.

Again, great support!
Jean.