<ig:XamGrid.SortingSettings> <ig:SortingSettings ShowSortIndicator="/> </ig:XamGrid.SortingSettings>
We recommend that you use the xamDataGrid control instead of the xamGrid control. The xamGrid is being planned for retirement over the next few years and will not receive any new features. We will continue to provide support and critical bug fixes for the xamGrid during this time. For help or questions on migrating your codebase to the xamDataGrid, please contact support.
The xamGrid™ control’s sort indicators indicate the sorting direction on a particular column. In most situations, a sort indicator pointing up indicates a column sorted in ascending order, and a sort indicator pointing down indicates a column sorted in descending order. However, there could be certain situations where you do not want the sort indicator shown on your grid. This can be easily achieved on the xamGrid control.
The following code demonstrates how to remove the sort indicator from sorted columns.
In XAML:
<ig:XamGrid.SortingSettings> <ig:SortingSettings ShowSortIndicator="/> </ig:XamGrid.SortingSettings>
In Visual Basic:
Me.MyGrid.SortingSettings.ShowSortIndicator = False
In C#:
this.MyGrid.SortingSettings.ShowSortIndicator = false;
The following image shows xamGrid sorted on the ProductName column without the sort indicator.