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.
- Open the application in Studio Pro.
- Navigate to the page containing the Data Grid 2 widget.
- Open the Data Grid 2 properties: General > Data source > Edit > Advanced.
- Set the runtime behavior to Network round trips.
- 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
- Mendix documentation:
0 Comments