2012-02-21 76 views
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 

}); 
+0

你需要更具體。如果不在列表中,您希望如何顯示數據? – 2012-02-21 12:00:48

+0

可以在alert中顯示...因爲我想將json存儲數據插入到新的sqlite表中 – user1147062 2012-02-21 12:22:36

回答