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
close icon

GGC auto resize header

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


1 Reply

LS Lingaraj S Syncfusion Team 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


Loader.
Live Chat Icon For mobile
Up arrow icon