js 方面 我没有用mvc 模式 简单实现以下功能
先写store
me.pigFileStore = Ext.create("Ext.data.Store", {
id : 'pigFileStore',
fields : ['pigpenNumber','name'],
pageSize:10, / //这一部分注释掉了 这一部分是从上往下拉时的 我暂时没用上
//下面就是滚动分页的实现了
{
xclass : 'Ext.plugin.ListPaging',
loadMoreText : '上拉显示更多……',
noMoreRecordsText : '没有更多条记录了',
autoPaging : true
// 设置为TRUE将自动触发
}]
});