PDA

View Full Version : dataUrl -treePanel



shahrzad
11 May 2010, 5:02 AM
hi all,

in treePanel,
loader: new Ext.tree.TreeLoader({
//dataUrl:'lib/extjs/code/layout/tree-data.json'
dataUrl:'index/index/format/json' // it doesn't work
}),

after clicking on 'http://localhost/test/index/index/format/json' , a json file creates.. and in loader, I want to call this json file, what url is suitable for dataUrl? note that json file save nowhere..