Version

Please note that this control has been retired and is now obsolete to the XamDataGrid control, and as such, we recommend migrating to that control. It will not be receiving any new features, bug fixes, or support going forward. 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