GridControl.SortBy(GridColumnBase) Method
In This Article
Sorts data by the values of the specified column.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
#Declaration
public void SortBy(
GridColumnBase column
)
#Parameters
Name | Type | Description |
---|---|---|
column | Grid |
A Grid |
#Remarks
The grid control allows data sorting by multiple columns. Any previous sorting is not cleared when calling the SortBy method.
End-users are allowed to sort data if the grid’s DataControlBase.AllowSorting property is set to true.
To learn more, see Sorting.
See Also