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

Methods to Update the VerticalGrid State in Actions

When you handle specific data operations (paging, sorting or filtering), you need to update the VerticalGrid state with the state of the currently processed operation in the corresponding Actions. You can do this with ease by using specific operation-related methods exposed by the VerticalGridModel object. Each method accepts parameters, which are automatically passed to a handling Action. These parameters represent the currently processed data operation’s state.

Operation

Method

Call with the Accepted Parameter(s) (Passed to Action)

Paging (VerticalGridOperationType.Paging)

VerticalGridModel.ApplyPagingState

ApplyPagingState(VerticalGridPagerState pagerState)

Sorting (VerticalGridOperationType.Sorting)

VerticalGridModel.ApplySortingState

ApplySortingState(VerticalGridRowState rowState)

ApplySortingState(VerticalGridRowState rowState, bool reset)

Filtering (VerticalGridOperationType.Filtering)

VerticalGridModel.ApplyFilteringState

ApplyFilteringState(VerticalGridFilteringState filteringState)

Refer to the Action Types and Passed Parameters topic to learn more about operation-specific parameters passed to handling Actions automatically.

See Also