Category / Section
How to change the sort icon placement for child table in WinForms GridGroupingControl?
2 mins read
Sort icon placement
By default, the sort icon will be displayed on the
right side of the respective column headers that are sorted. The sort icon
place can be changed by using the SortIconPlacement property.
The sort icon placement can be changed for nested table by getting the nested table using GetTableControl method.
C#
this.groupingGrid1.GetTableControl("Products").SortIconPlacement = SortIconPlacement.Top;
this.groupingGrid1.GetTableControl("OrderDetails").SortIconPlacement = SortIconPlacement.Left;
VB
Me.groupingGrid1.GetTableControl("Products").SortIconPlacement = SortIconPlacement.Top
Me.groupingGrid1.GetTableControl("OrderDetails ").SortIconPlacement = SortIconPlacement.Left
Sort Icon Placement as shown in the screenshot below
Samples:
Reference Link: Sort Icon Placement