Announcement

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

    How to refresh a single row in a ListGrid

    Is there any way to request a single record in a ListGrid to be refreshed, like it would be if via the cache-synch fetch if the record was updated, but without actually updating it. I know I can invalidate the cache for the ListGrid and force a re-fetch of the entire grid contents, but can I request a refresh of a single record without reloading the entire grid?

    #2
    Use DataSource.updateCaches() to broad an update to all components. If you already have the update data in hand, just make an "update" DSResponse from it, otherwise, use DataSource.fetchData() to fetch a new copy of the row, and build an "update" DSResponse from that.

    Comment

    Working...
    X