Articles in this section
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

Sort icon placement for child table


Samples:

C#: Sort_Icon_Placement

VB: Sort_Icon_Placement


Reference Link: Sort Icon Placement

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