On Tue, Feb 1, 2011 at 3:16 PM, zixzigma <zixzigma@gmail.com> wrote:
Unfortunately the paging mechanism in GWT v2.1 is inconsistent when using the mouse and the keyboard to scroll a paged table. When using the mouse it works the way you describe but when using the keyboard and scrolling down to the last page you will sometimes get an 'odd' number of rows.
Yes, I agree.
Jeff
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.
Unfortunately the paging mechanism in GWT v2.1 is inconsistent when using the mouse and the keyboard to scroll a paged table. When using the mouse it works the way you describe but when using the keyboard and scrolling down to the last page you will sometimes get an 'odd' number of rows.
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.
Yes, I agree.
Jeff
--
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.
--
Jeff Schwartz
--
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