HA
haneefm
Syncfusion Team
June 18, 2007 07:43 PM UTC
Hi Taqi,
You can resolve the issues by setting the AllowResizeToFit property to false and set the GridResizeToFitOptions.NoShrinkSize. By default the GridDataBoundGrid tries to size the columns based on the header text. To do any other kind of sizing, you first have to turn this default sizing off or it will undo your explicit sizing. To turn off this sizing, set
[C#]
this.gridDataBoundGrid1.AllowResizeToFit = false;
this.gridDataBoundGrid1.Model.ColWidths[1] = 100;
Best regards,
Haneef