Home › Forums › WinForms controls › Xceed Grid for WinForms › Column order for collections › Reply To: Column order for collections
To set the <b>visible</b> order of the columns, you can use the <b>VisibleIndex</b> property of the Column objects. Like this:<code>myGrid.Columns[“Column1”].VisibleIndex = 0;
myGrid.Columns[“Column2”].VisibleIndex = 1;
myGrid.Columns[“Column3”].VisibleIndex = 2;</code>
Imported from legacy forums. Posted by Tommy (had 171 views)