In this post, we will look at how to get the selected record in a subgrid using executionContext. Note this will work on Editable grids, using the OnRecordSelect event.
Consider the scenario where we have a Contacts subgrid on the Account form:
Now, this is control is an editable grid:
Which means we can use the OnRecordSelect event: