我认为,我已经阅读了有关塞察电话和json的所有问题。
However I would like to seek help on how to bind my JSON in my device. In Chrome it s working perfectly, but when I compile it using Eclipse, it becomes dead when it comes to binding to the JSON data. I got a simple textfield, put value then filter the store. but nothing is happening.
我的装置是运行的,roid2.1,我所有的<代码>.js和.json
文档都放在“密码”栏目下:
//sample store
var bogus = new Ext.data.Store({
model: Dictionary ,
autoLoad:true,
proxy: {
type: ajax ,
url: bogus.json ,
reader: {
type: json ,
root: table_t
}
}
});
//** heres my action event in searchfield
//** programmatically changes the json data
bogus.proxy.url = another.json ;
bogus.load();//then load
Ext.getCmp( mylist ).bindStore( bogus );/* this becomes dead :( */
I appreciate your help.