Hi,
like I announced before here is the link to a working example's sources on
github.
https://github.com/JochenSchnaidt/AsyncDataProviderExample
Best regards
Jochen
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from t
Hi,
works perfect now. Thank you all very much.
I am going to publish a simplified example soon and will share the link
here.
Best 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 r
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 su
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
Maybe do not use an anonymous class but rather one that you can "update"
with the search criteria (you could do it with an anonymous class and the
"updates" are done in fields of the outer class, but a non-anonymous class
for the provider pour give better encapsulation and would better follow th
Only create the AsyncDataProvider once and not every time the search method
is called. If you recreate the provider like above you would also need to
remove the table from the old provider beforehand and then attach the table
to the new provider. Otherwise the new provider will never execute.
I
Hi everybody,
I have a short but painful question: Where is the right place to initialize
my AsyncDataProvider?
Story so far:
In my Controller class I have my AsyncDataProvider as reference and the
search method where I built the asynchronous callback and process my data,
looks like this.
pri