AD
Administrator
Syncfusion Team
May 18, 2003 06:45 PM UTC
You can explicitly autosize things by:
1) set this.myGrid.AllowResizeToFit = false; to turn off the grid's auto resizing (so your explicit resizing will not be stepped upon).
2) After setting the data into the grid, call
this.myGrid.Model.ColWidths.ResizeToFit(GridRangeInfo.Row(0), GridResizeToFitOptions.IncludeHeaders);