Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Change column size...

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Change column size...
Link Posted: 17-Nov-2005 03:11
If I have created a flygrid and added columns to it at design time, how would I change the column width using code.

e.g.

Flygrid called 'Flygrid1' and column named 'columnName'

Thanks

Simon
Link Posted: 17-Nov-2005 14:29
[VB]
Me.Flygrid1.Columns.Items(0).Width = newColumnWidth

OR
[VB]
Me.columnName.Width = newColumnWidth