Wednesday, January 11, 2012

Re: DataGrid Object not displaying more than 50 items...

Hey Tom,

Want to thank you for this answer!

I have another question.  Was wondering if maybe you might know.

I have a DataGrid with a ButtonColumn in it.  
I need to do the following:
1. When I load data into the table via a DataProvider, I need at that time to control whether the button that appears on that row will be active. Is there a way to do this?
2. I need an ability to provide a ClickHandler for these buttons.

Would you might know the answers to these questions?

Would really appreciate it.

Thanks.


-----Original Message-----
From: Thomas Broyer <t.broyer@gmail.com>
To: google-web-toolkit <google-web-toolkit@googlegroups.com>
Sent: Tue, Jan 10, 2012 3:05 am
Subject: Re: DataGrid Object not displaying more than 50 items...

I believe you'd have to call setPageSize *before* changing your ListDataProvider; but yes, there's no reason it wouldn't work: ListDataProviders simply calls setRowCount/setRowData on its attached HasData whenever you change its getList().
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mwQxdInqNkkJ.
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.

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