AD
Administrator
Syncfusion Team
July 1, 2003 09:22 PM UTC
To explicitly set the width of a column in a GridDataBoundGrid, use code like
this.grid.AllowResizeToFit = false;
this.grid.Model.ColWidths[2] = 100;
You need the first line otherwise the grid will try to autosize things based on the header text and this will interfere with your sizing.
MV
Mihai Vlad
July 2, 2003 05:15 AM UTC
Thanks. It worked. :)
Mihai Vlad