Home Forums WinForms controls Xceed Grid for WinForms How to autosize the header column Reply To: How to autosize the header column

User (Old forums)
Member
Post count: 23064

You can use the GetFittedWidth method to have the column width adjusted to the text in the column.

e.g.:

column1.Width = column1.GetFittedWidth();

Imported from legacy forums. Posted by André (had 3028 views)