Sencha touch2 でリストを作成しました。ページングを追加する必要があります。ページに25個のアイテムを表示する必要があり、「次へ」ボタンをタップすると、次の25個のアイテムを表示する必要があるとしましょう。私は sencha touch 2 がページングを提供すると信じていますが、それを処理することはできません。
私のコードは
cls:'inboxqueuecls',
xtype:'list',
id:'queuelist',
store:'QueueStore',
plugins: [{
xclass: 'Ext.plugin.ListPaging',
autoPaging: false,
clearOnPageLoad: true
}],
style:{
'border-right':'0.01px black',
'background-color':'rgba(0,140,153,0.2)'
},
itemTpl:'{queueName}'
そして私のお店は
pageSize: 20,
autoload: false,
proxy:{
type:'memory',
reader:{
type:'xml',
record:'string',
rootProperty:'QueuesNames',
}
}
しかし、「ページサイズ」は機能しているようです。何か不足していますか?助けてください。