GridColumn width

Hi, In a GridDataBoundGrid , I want set the width of the column me self. How can I do ? I don''t see property width for each column. Why is it not possible to set a GridGroupingControl on a (Border -in my case-)Layout. The extended property is not visible on it when dropped on a form with a Layout? Thanks, Eddy PS: version 2.0.5.0

1 Reply

AD Administrator Syncfusion Team May 11, 2004 02:43 PM UTC

In a GridDataBoundGrid, you can only set the colwidths at runtime (unless you derived GridBoundColumns and add a Width property which takes a little work). To set the widths at runtime, use code like: this.grid.Model.ColWidths[colIndex] = 100; By Layout, do you mean a Look and Feel layout you saved? If so, you might download 2.0.5.1 update which is available.

Loader.
Up arrow icon