Row Autoheight when DetailsViewDefinition is in use

Hi,

How I can recalculate row height, when DetailsViewDefinition is in use (but collapsed)? Without  DetailsViewDefinition for this I can use QueryRowHeight method, but it's not firing together with  DetailsViewDefinition. 

I only want to calculate row height when details row is collapsed.


3 Replies

DM Dhanasekar Mohanraj Syncfusion Team June 14, 2022 02:07 PM UTC

Hi Andrzej,

We regret to let you know that the MasterDetailsView DataGrid does not support AutoRowHeight. QueryRowHeight event will never called if the SfDataGrid contains DetailsViewDefinitions. We have mentioned this in our UG documentation shown below,

UG link: https://help.syncfusion.com/windowsforms/datagrid/masterdetailsview#master-details-view-limitations 

Please check this and revert us if you have anu other queries.

Regards,
Dhanasekar M.



AN Andrzej June 14, 2022 02:12 PM UTC

Hi, I’ve Found it, Thanh’s why I’m asking what other possibility do I have.



DM Dhanasekar Mohanraj Syncfusion Team June 16, 2022 05:16 AM UTC

Hi Andrzej,

As we mentioned earlier by default, QueryRowHeight event does not triggered for MasterDetailsViewDataGrid. And we have already logged feature request for “Autofit row height support for DetailsView grid”. We will implement this feature in any of our upcoming release.

At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.

Feedback Link: https://www.syncfusion.com/feedback/3255/autofit-row-height-support-for-detailsview-grid

If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.

Regards,

Dhanasekar M.


Loader.
Up arrow icon