Thursday, May 29, 2014

Re: Add Scroll Handler to DataGrid (GWT 2.4)

Check this link ;)
http://stackoverflow.com/questions/11997130/lazy-load-data-in-a-gwt-datagrid

On Thursday, September 22, 2011 5:35:01 AM UTC+3:30, TheSultan wrote:
I need to add a ScrollHandler to the body of a DataGrid. I've tried
the following:



dataGrid.addHandler(new ScrollHandler() {

                @Override
                public void onScroll(ScrollEvent event) {
                        Window.alert("yes!!");

                }
        }, ScrollEvent.getType());

but it's not working.
Any ideas?
Thanks!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment