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

GGC auto resize header

Thread ID:

Created:

Updated:

Platform:

Replies:

79902 Mar 3,2009 05:31 PM UTC Mar 4,2009 03:03 PM UTC WinForms 1
loading
Tags: GridControl
Irakli Machabeli
Asked On March 3, 2009 05:31 PM UTC

How can one automatically resize header of GGC to maximum of data and header width

I tried this code but do not see any effect

grid.TableModel.ColWidths.ResizeToFit(GridRangeInfo.Row(0), GridResizeToFitOptions.IncludeHeaders);


Lingaraj S [Syncfusion]
Replied On March 4, 2009 03:03 PM UTC

Hi Irakli,

Thanks for your interest in Syncfusion products.

I am unable to see this issue in our end.please try by using WrapText and Trimming property and still face this issue please provide us a minimal sample so that we can analyse this issue in detail.

Please refer the code below.
e.Style.WrapText = true;
e.Style.Trimming = StringTrimming.None;

Let me know if you have any queries.

Regards,
Lingaraj S


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.

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

;