Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Updating Grid without loading message

    Hi,

    we have used SmartGWT LGPL to implement an UI for an application running on an Apache tomcat server. Because we had an existing data service based on GWT RPC and DTO's we did not used SmartGWT's DataSource concept. We used e.g. grid.setData() manually.

    Now I am thinking on migrating to DataSource concept, because it has many advanced features.

    While reading some posts here I haven't figured out the correct way to implement the following:

    We are using server side paging, filtering and sorting. When there are changes at server side we notify UIs to reload all related DataBound components. This shall be done without loading message.

    I have found some posts where dataSource.updateCache() with invalidateCache set to true is used to replace all Records. But I think this can't work with DataSources having set cacheAllData to false since there may be more than one Databound Component all having different Criteria and I think there should be different ResultSets for them. Am I correct?

    Is there a clean way to implement such cache invalidation without loading message in this use case?

    Thank you
    Last edited by inventor; 20 Sep 2011, 23:38.
Working...
X