Skip to main content
A newer version of this page is available. .

GridColumnSortInfo.SetSortOrder(GridColumn, ColumnSortOrder) Method

Sorts data in the specific column.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public virtual void SetSortOrder(
    GridColumn column,
    ColumnSortOrder sortOrder
)

Parameters

Name Type Description
column GridColumn

A GridColumn that needs to be sorted.

sortOrder ColumnSortOrder

A ColumnSortOrder enumeration value that specifies whether data in the target column should be sorted ascending or descending.

See Also