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.
Unfortunately, activation email could not send to your email. Please try again.

SfDataGrid AutoRowHeight

Thread ID:

Created:

Updated:

Platform:

Replies:

119128 May 13,2015 07:46 AM May 18,2015 07:45 AM WPF 3
loading
Tags: SfDataGrid
yapwen
Asked On May 13, 2015 07:46 AM

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.

Regards,
Yap

Attachment: SfDataGrid_caee57b9.zip

Ashok N [Syncfusion]
Replied On May 14, 2015 10:23 AM

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()

{

InitializeComponent();

this.SfdataGrid.Loaded+=SfdataGrid_Loaded;

}


void SfdataGrid_Loaded(object sender, RoutedEventArgs e)

{

this.SfdataGrid.GridColumnSizer.FontSize = 14;

}



Please let us know if you require further assistance.

Thanks,
Ashok


yapwen
Replied On May 17, 2015 11:12 AM

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 .

Regards,
Yap


Attachment: SfDataGrid_AutoHeightIssue_6a07c469.zip

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

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

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,
Farjana Parveen A


CONFIRMATION

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.

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.

;