Category / Section
How to change the sort icon placement for child table in WinForms GridGroupingControl?
1 min read
Sort icon placement
By default, the sort icon will be displayed in the respective column headers which are sorted at right side. 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
Screenshot
Samples:
Reference link: https://help.syncfusion.com/windowsforms/gridgrouping/sorting#sort-icon-placement