Clearing Parent Grid but the Child Grid does not

I have a Parent Grid and a Child Grid which are linked in a DashBoard
In the Customization, the problem I get is when I clear the Parent Grid, the child does not clear itself

We Override the clear button with this code

public void btnClear()
	Control activeControl = MainController.ActiveControl;
	MainController.ActiveControl = myGrid;
	MainController.ActiveControl = activeControl;

myGrid is my Parent Grid.
Epicor will ask a confirmation, if “Yes” is clicked it should clear the grid

However, in Epicor 10.1.600 the child grid is cleared automatically when the parent is cleared
But in Kinetic 202x the Child grid will not clear if the parent is cleared.

How could I work around this ?