<-- Back

Data View listening to Data Grid 2 does not update the data

Issue

A Data View that is configured to listen to a Data Grid 2 does not update its data. The Data Grid 2 displays the latest data correctly after a refresh, but the listening Data View remains stale or fails to reflect the new values.

Environment

Studio Pro (all versions)

Cause

It relates to how objects are stored in the client-side cache. While objects remain in the cache, the cached version is used instead of sending a new request to the server. This behavior is intentional, as an optimization to reduce network load. The refresh mechanism used by Data Grid 2 does not update the cache by default because it is optimized for network efficiency. As a result, the listening Data View continues to read the stale cached object rather than the updated data.

Solution/Workaround

To ensure the cache is updated and the Data View reflects the latest data, change the Data Grid 2 data source to use Network round trips.

  1. Open the application in Studio Pro.
  2. Navigate to the page containing the Data Grid 2 widget.
  3. Open the Data Grid 2 properties: General > Data source > Edit > Advanced.
  4. Set the runtime behavior to Network round trips.
  5. Save and re-run the application. 

The listening Data View now updates correctly when the Data Grid 2 refreshes its data.

Internal information related

  • 267374, 281174
  • CJZ85RLTA/p1782223578481069

Additional information

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.