[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Pivot Grid
   Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Collapse]Vertical Grid
    Main Features
    [Collapse]Binding to Data
      Binding to Data via Entity Framework (Code First)
      Binding to Data via Entity Framework or LINQ to SQL (Database First)
      Binding to Large Data (Database Server Mode)
     [Collapse]Custom Data Binding
       Action Types and Passed Parameters
       Methods to Update the VerticalGrid State in Actions
       Available Binding Delegates
       Implementation of Typed Method Delegates
       Custom Binding Limitations
    [Expand]Data Representation Basics
    [Expand]Data Editing and Validation
    [Expand]Focus and Navigation
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

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.



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

Paging (VerticalGridOperationType.Paging)


ApplyPagingState(VerticalGridPagerState pagerState)

Sorting (VerticalGridOperationType.Sorting)


ApplySortingState(VerticalGridRowState rowState)

ApplySortingState(VerticalGridRowState rowState, bool reset)

Filtering (VerticalGridOperationType.Filtering)


ApplyFilteringState(VerticalGridFilteringState filteringState)

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

Expanded See Also

Is this topic helpful?​​​​​​​