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

9th parameter of command
* @param: children - node children flag (for dynamical trees) (optional)
0 - node without child items ( default )
1 - node with child items