I posted this in the GWT users' group: Dynamically set "page size" of CellList http://groups.google.com/group/google-web-toolkit/browse_frm/thread/f1399c54613890b3
<aside> I had a complex data presentation scenario to handle (complex because the very left hand column contains a "row span" type look and the very right hand column has a ragged right edge). I can give a more concrete example if you like, but for now suffice it to say that I decided that CellTable didn't have the flexibility I needed. CellTree is spot on what I need, but wasn't sure if I could coax it into looking like a table instead of a tree. I settled on a CellList because the onRender method allowed me to create the totally custom structure that I needed. Now my data is calendar based, so my paging is done by fetching one month at a time. So I extended the CellList class and in the constructor I call this.setPageSize(31); and then as data is requested it just slots into the 31 available slots, if it's only 30 or 28/29 then it's no issue, problem solved, however... </aside> ... it would be nice to be able to dynamically specify a page size at the same time as setting the data list. Currently causes two calls to refresh(); because internally in the CellList setPageSize() calls refresh and then obviously ListViewAdapter#setList(); must also invoke redraw() at some point. So, somehow, a function like setData(List, pagesize) would be handy. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
