Articles in this section
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 last position of 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#

this.gridGroupingControl1.TableDescriptor.VisibleColumns.Move(4, 0);
//Here 4 is the index of unbound column and 0 is target column index

 

VB

Me.gridGroupingControl1.TableDescriptor.VisibleColumns.Move(4, 0)
'Here 4 is the index of unbound column and 0 is target column index

Samples:

C#: UnboundColumnMoving_c#.

VB: UnboundColumnMoving_VB.

Reference link: https://help.syncfusion.com/windowsforms/classic/gridgroupingcontrol/managing-records-and-columns#unbound-columns

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied