0
海所有, 我不想使用列表中显示从JSON店DATAS .... 然后在URL我想递增页码... 我有以下的jsonstore代码....如何从商店显示数据?
Ext.regModel('message',{fields:['Drugid','Drugname','Manufacturer','Price','Unit','Catid']});
var store=new Ext.data.Store({
model: 'message',
proxy: {
type: 'ajax',
url: 'http://174.36.149.186/Medical/api/drugapi.php?op=mdrug&page=1',---- here i give just page is one,i want increment the page number
reader: {
type: 'json',
root: 'result.message'
}
},
autoLoad: true
});
你需要更具体。如果不在列表中,您希望如何显示数据? – 2012-02-21 12:00:48
可以在alert中显示...因为我想将json存储数据插入到新的sqlite表中 – user1147062 2012-02-21 12:22:36