I have a requirement that on the selection of records in subgrid the amount denied should sum (for selected records only) and set in parent entity custom field and in case of unselection it should subract from the custom field.
Please see the image below for reference.
Any help will be appreciated.
TIA.