Announcement

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

  • Reset "autofetch" for Grids

    I have a master-details situation with one master record (a form) and a TabSet with on each pane a grid of detail records. I built a button that allows refresh of the master record (and its details). To reduce the number of requests, I would like the active associated grid's data to be reloaded along with the master data and that the other associated tabs reload as soon as a tab gets reselected. Using invalidateCache() on each associated grid almost handles this, but it refreshes the data for all tabs visited earlier. Is there a way of resetting the auto fetch mechanism for all unselected tabs so that their data is only fetched when a tab is reselected? So basically, two requests should be initiated after pressing the button: one to fetch the master record's data and one to fetch the active associated tab's grid data.
Working...
X