Re: Where to initialize an AsyncDataProvider?
You can trigger onRangeChanged using setVisibleRangeAndClearData on an HasData; BTW this is what ColumnSortEvent.AsyncHandler does (according to its doc).
On Friday, July 19, 2013 12:38:14 PM UTC+2, Jochen Schnaidt wrote:
Hi all,--thank you for your fast responds. My favorite way is to subclass my own provider and instantiate it in the constructor, like Jens wrote above. When I do it this way, how do I trigger a new search, besides onRangeChanged event? Thats the point I am worried about and the reason I didn't do that the first time.Regards Jochen
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/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home