Category / Section
How to move unbound column to first in WinForms GridGroupingControl?
1 min read
Unbound columns
By default,
unbound columns will be generated at the last position of the WinForms GridGroupingControl
whenever unbound columns are added. Any unbound column’s position can be
changed to the specified index by using Move method of VisibleColumns collection.
C#
//Here 4 is the index of unbound column and 0 is target column index
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Move(4, 0);
VB
'Here 4 is the index of unbound column and 0 is target column index
Me.gridGroupingControl1.TableDescriptor.VisibleColumns.Move(4, 0)
Samples:
Reference Link: Unbound Columns