8:00——10:00 | 做协会通讯组修改 |
10:00——12:00 | 做分页查询遇到了问题 |
14:00——18:00 | 做分页查询 |
17:20——17:40 | 完成分页 |
总结: |
写分页的时候遇到的问题是: 1.datagrid里的数据不分页,是因为action中返回的对象不对,返回的对象要包含分页的对象,而我的action种定义了但是在bean中没有用到这个对象
public void setAssoc(AssociationBean assoc) { this.assoc = assoc; var store:DataStore = event.result as DataStore; gridData = selectAssociationsResult.lastResult.list as ArrayCollection; pagebar.RecordCount = store.pageInfo.totalRowsAmount;
|