We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfDataGrid AutoRowHeight

Thread ID:





119128 May 13,2015 11:46 AM UTC May 18,2015 11:45 AM UTC WPF 3
Tags: SfDataGrid
Asked On May 13, 2015 11:46 AM UTC

Hi ,

Good day .

SfDatagrid applying autorowheight for default font is working fine but it's doesn't work when set to bigger fontsize .

Please see attached for SfDatagrid AutoRowHeight.

Thank you.


Attachment: SfDataGrid_caee57b9.zip

Ashok N [Syncfusion]
Replied On May 14, 2015 02:23 PM UTC

Hi Yap,

Thank you for contacting Syncfusion support.

We have analyzed your query and you can achieve your requirement by setting SfDataGrid.GridColumnSizer.FontSize value same as SfDataGrid.FontSize. Please refer the following code example:

public MainWindow()





void SfdataGrid_Loaded(object sender, RoutedEventArgs e)


this.SfdataGrid.GridColumnSizer.FontSize = 14;


Please let us know if you require further assistance.


Replied On May 17, 2015 03:12 PM UTC

Hi Ashok,

Thanks for your reply .

I have apply your recommended code but still unable to get it fix .
Please refer to the attached for print screen for AutoRowHeight issue .

don't mind can I have a demo guide for SfDataGrid AutoRowHeight, 
Btw, GridDataControl able to resize the row header, how to resize the row header for SfDatagrid ?

Thank you vary much .


Attachment: SfDataGrid_AutoHeightIssue_6a07c469.zip

Farjana Parveen Ayubb [Syncfusion]
Replied On May 18, 2015 11:45 AM UTC

Hi Yap,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates


Please let me know if you have any questions.

Farjana Parveen A


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon