Skip to main content

VerticalGridModel.SortBy(VerticalGridRowState, Boolean) Method

Changes the VerticalGrid’s sorting state according to the processed sorting operation.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SortBy(
    VerticalGridRowState row,
    bool reset
)

Parameters

Name Type Description
row VerticalGridRowState

A VerticalGridRowState object containing the current state of the row related to the performed sorting operation.

reset Boolean

true if the SHIFT key was not pressed during the performed sort operation and the previous sorting state should be reset; false if the sort operation was performed with the SHIFT key pressed and the previous sorting state should be preserved.

See Also