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.v24.2.dll
Declaration
Parameters
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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplySortingState(GridViewColumnState, Boolean) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.