Announcements
When i save a record, i have a plugin that runs on update of a record, but the changes are not immediately visible on the form the subgrid, as i have to refresh. Is there a way to eliminate that issue, is there an solution for this?
Hi Abdul,
If plugin is synchronous and running in same execution context it will work, after save of parent record will refresh as well its grids. I tried.
Please let me know if you have any other thoughts on this.
Thank you.
Hi Ganesh Chowhan,
It seems to refresh sub-grid records. How would it be possible when the plugin is synchronous?
Hi,
Yes, if you can make the plugin synchronous then your changes will reflect immediately, however if your requirement doesn't support for sync plugin then you might need to write client side JS code to reload the subgrid after some delay.
Thank you.
Use the form 'On save' event. Refresh the subgrid using JS with a set timeout function.
For more details:
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156