Tuesday, February 1, 2011

Re: GWT 2.1 cell table paging bug?

I do not think this is a bug,
and in fact I found the current implementation very desirable.

your table always shows X number of rows per page, even if its the last page.
with this implementation your table will always have the same height, and same number of rows.
and you dont have to deal with cases where there is only 1 or two items in the last page,
which might make your UI look inconsistent.

I believe making the table to act this way is more difficult than traditional way of paging,
because you have to do some range manipulation, check if its last page,
and if so, display enough rows for table pageSize to be met. and GWT CellTable already does this.




--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment