Thursday, January 26, 2012

Re: How to force scroll of DataGrid to top on reload

This is an "end of day - not thinking much" answer since I've never used the DataGrid in GWT but I would guess it has a SelectionModel of some sort. See if you can call on datagrid getSelectionModel().select(.... or something along those lines and this might do the trick. By calling something along the lines of select on the selection model, you should get the behavior you are looking for. Again, just guessing here which I don't typically do but today I feel like it.

Hope this helps you.

Regards,

Alfredo  

On Thu, Jan 26, 2012 at 5:34 PM, Bill M <blintegra@aol.com> wrote:
Hello,

I would like to know if anyone knows how to set the scroll position of
the DataGrid widget to the top, following a reload?  I don't see any
method that allow you to do this.

Does anyone know how?

Thanks,
Bill

--
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.




--
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton


--
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