auto size the Column header height

I''m using the GridGroupingControl version 3.3, I''m wondering how to force the autosize (height) capability for column headers. I can do it manually with a dbl click on the line just between the column header row and the first data row of my grid, but I would like to set it programatically thanks

1 Reply

AD Administrator Syncfusion Team April 24, 2006 06:41 AM UTC

Hi Xavier, The TableModel.RowHeights.ResizeToFit method can be used to auto size the row heights. this.gridGroupingControl1.TableModel.RowHeights.ResizeToFit(GridRangeInfo.Row(2));// here 2 is the header row index. Regards, Calvin.

Loader.
Up arrow icon