call cellTable.setRowCount(AllMessages.size(), true);

On Jan 5, 12:54 pm, Noor <baken...@gmail.com> wrote:
> Hi, I am stuck with the gwt cell pager which I want to attach to a
> cell table. I am setting like this:
>
> List <ForumMessage> AllMessages=populated from an rpc;
> CellTable cellTable = new CellTable  <ForumMessage>();
> simplePager = new SimplePager();
> cellTable.addColumn(ColumnM);
> cellTable.setRowData(0,AllMessages);
> simplePager.setDisplay(cellTable);
> simplePager.setPageSize(3);
>
> ColumnM has correctly been defined
>
> But when the cell table is being displayed, the first three rows are
> correctly shown but when i press next, no rows are shown and the cell
> table is as if loading. Now from that page, if I press back, again the
> page is as if loading.
>
> Now, another problem is that I can continually press next and the
> numbers of pages keeps on adding even if there are only 8 rows

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to