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. Image for the cookie policy date

SfDataGrid AutoRowHeight

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

3 Replies

AN Ashok N Syncfusion Team 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.


YA yapwen 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

FP Farjana Parveen Ayubb Syncfusion Team 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

Live Chat Icon For mobile
Up arrow icon