AD
Administrator
Syncfusion Team
January 18, 2007 10:05 PM UTC
Hi Shankar,
By default, the GridDataBoundGrid tries to autosize the columns based on headertext. The AllowResizeToFit = false turns off this default sizing.
If you do not turn it off, the grid trying to size things based on headertext can step on any explicit sizing you try to do. Here is a code snippet
this.gridDataBoundGrid1.AllowResizeToFit = false;
this.gridDataBoundGrid1.Model.ColWidths[2] = 300;
Best Regards,
Haneef