Hi Dhanarshri,
In order to fix this issue instead of adding the Datagrid reset button, you need to create your own custom button and add run javascript in the screen action and call the Datagrid function explicitly.
This will fix the issue, you can check the working example in the below url:-
https://dnyanarth-lonkar.outsystemscloud.com/DataGrid_Save_Reset/SaveGrid.aspx?_ts=637514365233236781

Also, please find the attached oml.
Thanks,
Dnyanarth Lonkar