Hi,

I am trying to implement a CellTable that fills up with data as the
user scrolls to the end of the ScrollPanel. In other words, I want to
implement the same behavior as shown in the GWT showcase for the
celllist:
http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList

As you scroll and it hits the bottom of the ScrollPanel, not items are
added in.

I have the functionality of the triggering done, however, being that
my table has potentially a thousand or more items in it and needs to
be sortable in the end, I am under the impression that I should not
use the ListDataProvider, but the AsyncDataProvider, which is what I
am doing.

The issue is that once I load the new data set and use:
myProvider.updateRowCount(totalDataOnServer, true);
myProvider.updateRowData(newStart, rows);

The problem is that the scroll bar jumps to the top again, i.e., NOT
the same behavior as seen in the showcase that I listed above.

My "show more" scroll handler which implements AbstractPager
calculates the new page size and does this in its onScroll method:
diplay.setVisibleRange(0, newPageSize);

Any idea on what I am doing wrong here?

Thanks,
-Yaakov.

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

Reply via email to