Thursday, October 23, 2014

Re: onRangeChanged multiple call issue

thanks a lot
the solution was as you advice removeDataDisplay before create new
searchResultsAsyncDataProvider :
private void createAsyncDataProvider() {
if(this.searchResultsAsyncDataProvider!=null){
searchResultsAsyncDataProvider.removeDataDisplay(this.dataGridSearchResults);
}
this.searchResultsAsyncDataProvider =
new SearchResultsAsyncDataProvider(
this.searchResultsPPPresenter.getSearchQuery(),
this.searchResultsPPPresenter.getClientFactory());


On Mon, Oct 20, 2014 at 3:36 PM, Juan Pablo Gardella
<gardellajuanpablo@gmail.com> wrote:
> When the activity starts you are calling reset method on the view
> (singleton?) and creating a new provider. The previous one was not
> unregistered (removeDisplay method).
>
> On 20 October 2014 10:27, Grisha Shoihet <gshoihet@gmail.com> wrote:
>>
>> On datagrid object ?
>> How possible to check this?
>> 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.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/ZYe7iYsMHds/unsubscribe.
> To unsubscribe from this group and all its topics, 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.



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