Apply resize to fit to row header column

How can I resize the row header column width.

I tried ResizeToFit(GridRangeInfo.Col(0)) that did not work.

1 Reply

AD Administrator Syncfusion Team October 12, 2007 09:14 AM UTC

Try using the overload of ResizeToFit that allows you to specify some options, one of which indicates whether you want to resize header cells.

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

Loader.
Up arrow icon