PDA

View Full Version : Problem in using XMlTreeLoader



anshu_gupta
28 Jan 2011, 12:00 AM
Hi,
We are using following code to get Tree from XML.

var treePanel = {
title: 'List',
xtype: 'treepanel',
autoScroll: true,
autoHeight : false,
split: true,
height : 600,
width : 250,
border : true,
id : 'tree',
loader: new Ext.ux.XmlTreeLoader({
dataUrl: someUrl }
)

,
root : new Ext.tree.AsyncTreeNode(),

rootVisible: true
};

We are using the XMLTreeLoader but its not working.
There is no error in firebug but on the browser nothing is displayed.
Also, request to the url is also not going.
Any pointers where i am missing or am i using it correctly
Thanks.