I'm facing an issue in one of my screens where I'm using a structure to populate table data. After updating the table, the changes do not reflect immediately on the screen, even though I refresh the aggregates in the save button. Is there any way to refresh the structure so the updated data appears without refreshing the entire screen?
Unfortunately, I'm unable to share the OML file. I would greatly appreciate any suggestions or guidance on how to resolve this issue.
Hi Dinesh,
The issue usually occurs because the UI is not bound to the refreshed data source. When you refresh the aggregate, the updated data needs to be assigned to the local variable or structure bound to the table.
Local Structure Variable = Aggregate List
This step ensures that the UI gets the latest data from the aggregate.
Thanks,
Vipin Yadav
Hi @Dinesh M
Structure also needs to be reassigned if that is mapped as data source to your table in UI
Else use aggregate for your table data source
Regards
Shradha Rawlani
If you using a local list structure you should clear it on after fetch of you aggregate and re assign data to it that should solve the problem . And if you can share some scree shot then it will be clear what the problem is .
Regard