Hi,
setXMLAutoloading(true) method allow us to load a tree dynamically on demand.
But is there any to load the total tree i.e, the tree itself open all child elements and load total tree.
I need this because i have a issue with enablemulichcheckbox(true).
If user check a parent node , the childs are not checked because they will be loaded on opening the parent node, but not on checking the parent node.
So can u please provide the solution for this issue.
Thanks,
Naresh adla
Darya
July 31, 2013, 1:00pm
#2
Hi
There are some samples with different tree loading:
dhtmlx.com/docs/products/dht … sing_data/
The simplest one is loadXML()
And do not forget about callback
dhtmlx.com/docs/products/dht … sing_data/
or onXLE event handler
docs.dhtmlx.com/doku.php?id=dhtm … vent_onxle
Thanks for ur reply darya.
But i ddnt find the solution for my question.
I am loading my tree in dynamic mode.
Dynamic mode means when i open a node if its child property set to “1” then a call will
send to server and the childrens will be loaded.
But i need the tree should load its all nodes automatically by doing the same thing.(but on its own without my interaction)
Thanks,
Naresh Adla.
Darya
August 2, 2013, 2:53pm
#4
Do you mean to open the whole tree step-by-step, item-by-item on its load?
Yes,
step by step the total tree should be loaded at a time.
Darya
August 7, 2013, 2:06pm
#6
In this case you need to iterate the whole tree manually and openItem() by index with an interval.
So,
How can i iterate the whole tree?
Is there any method like forEachRow in grid?
Darya
August 12, 2013, 11:30am
#8
You need to write your custom sunction based on your tree structure. there is no ready approach