0
.... 다음 URL에서 내가 jsonstore 코드 다음 한 페이지 번호 ... 를 증가합니다 .... 목록을 사용하지 않고 JSON 저장소에서 datas를 표시하려면하이 모두 은 내가상점에서 데이터를 표시하는 방법은 무엇입니까?
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
});
는 좀 더 구체적으로해야합니다. 목록에 없으면 어떻게 데이터를 표시 하시겠습니까? –
는 경고로 표시 될 수 있습니다. 왜냐하면 나는 json store datas를 새로운 sqlite 테이블에 삽입하려고합니다. – user1147062