GridViewModel.ApplySortingState(GridViewColumnState, Boolean) Method

Updates the state of the GridViewModel with the current sorting state of the GridView.

Namespace: DevExpress.Web.Mvc

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


public void ApplySortingState(
    GridViewColumnState columnState,
    bool reset


Name Type Description
columnState GridViewColumnState

A GridViewColumnState object that contains the state of the sorting operation performed by an end-user on the client side.

reset Boolean

true to reset the previous sorting state; false otherwise.

See Also