Clearing Parent Grid but the Child Grid does not

Hello,
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
2023-03-15_11h18_27

We Override the clear button with this code

public void btnClear()
{
	Control activeControl = MainController.ActiveControl;
	MainController.ActiveControl = myGrid;
	MainController.ActiveControl = activeControl;
	oTrans.OnClear();
}

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

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 ?