i have added a quick view which contain a related subgrid in main form. in subgrid there is one button when clicking on the button it is taking formContext of qvick view form not of main form.
for example. in contact table I have created a quickies which contains all the cases related to contact. i have added that quick view in account form.
i have made a custom button on subgrid onclick of that button it should take formContext of account form but it is taking form context of quick view form