Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 07, 2008 08:32
open dhtmlx forum
dhtmlxtree - plus sign

hi,

i am trying to load the tree dynamically. i am not using xml format.
i am using insertNewChild method to load the nodes.

in case of a xml, the child attribute is set to 1 or 0 to indicate the node has children or not.
how can i achieve the same if i use inserNewChild method.

Pls help.


thanks
Answer posted by Support on Oct 07, 2008 09:32
9th parameter of command 
* @param: children - node children flag (for dynamical trees) (optional)
   0 - node without child items ( default )
   1 - node with child items