Version

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.

Sorting

Sorting is an important functionality provided by xamGrid™. The xamGrid control automatically displays and handles the sorting for you.

Your end users can sort columns by clicking the column headers, allowing them to view the grid data in the order that they want.

By default, sorting is enabled on xamGrid. However, you can disable sorting on your xamGrid, as the following code demonstrates.

In XAML:

<ig:XamGrid.SortingSettings>
    <ig:SortingSettings AllowSorting="/>
</ig:XamGrid.SortingSettings>

In Visual Basic:

Me.MyGrid.SortingSettings.AllowSorting = False

In C#:

this.MyGrid.SortingSettings.AllowSorting = false;
Sorting