I need to use dynamically JSON with data.TreeStore. With this component, there is proxy "config", it need a path to JSON file. My problem is, i can t write Json file in my application. I would know, if i can generated JSON dynamically and pass it to url config into proxy?
For example :
Var trStore = Ext.create( Ext.Data.TreeStore ,{
... // config
proxy {
type : ajax ,
url : { id : id0 , task : task0 , value : val0 , ..... }
}
});
My URL is not a file url but is JSON generated with my own method !
How to build JSON for use it with TreeStore and without make file !?
I hope you understand my problem :)
Thanks a lot to help !