Hi
I have an editable subgrid. I want to trigger an script onSave of the grid after changing the content of records in the grid. How to trigger a script on save event of the grid?
*This post is locked for comments
Just go to Form Editor.
Click your grid and click properties button on top of the form editor window.
Go to Events Tab.
Open Event Dropdown from the list.
Select "OnSave" option.
In the grid next to this dropdown, Click "Add" button and write a function name, which you want to use and Click save.
Click on Edit Library, and paste your function code in the popup.
Just make sure that the function name you chosen in the previous step must be in your code.
Click Ok, Save and Publish.
Please mark my answer as verified, if it solves your query.
Thanks
You can refer to given link for registering events on Editable Grids.
community.dynamics.com/.../events-in-dynamics-365-editable-grid
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156