I have a a subgrid that shows different product options. There is a field called "Selected Option" that basically indicates which option the client has selected. There can only be one option so I have a Javascript that will iterate through the subgrid and set all the other options to False when an option is selected to ensure we only have one option.
The script is working, However, it does not seem to save the other rows. only the one that was changed. It makes the change but after refreshing it does not save the other rows in the table. Is there a way to save all values in the Subgrid?
When I try put Xrm.Page.data.entity.save(); after my code I get an error "save in progress".
Any ideas how I can achieve this?