Hi Tipal,
Thanks for contacting Syncfusion support.
Currently Master-Details view in SfDataGrid does not support AutoRowHeight and QueryRowHeight event will never called if the SfDataGrid contains DetailsViewDefinitions. Please refer to the below UG link for the limitations of the Master Details view.
We have logged this as a feature request in our database. This feature will be implemented in any of our upcoming releases. We will let you know once the feature is implemented.
Regards,
Mohanram A.