PDA

View Full Version : How to make array the data source as a Tree



wdvill
7 Jul 2010, 5:07 PM
How to make array the data source as a Tree
i don't user JSON

Help me to change under the code


var tree = new Tree.TreePanel({
el:'tree-div',
autoScroll:true,
animate:true,
enableDD:true,
containerScroll: true,
loader: new Tree.TreeLoader({
dataUrl:'tree.json'
})
});

10 Jul 2010, 9:30 AM
the tree requires object data in a specific format