[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [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]Reporting
  [Expand]Charting
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Collapse]Vertical Grid
    Overview - VerticalGrid
    Main Features
   [Collapse]Concepts
    [Expand]Binding to Data
    [Collapse]Data Representation Basics
     [Expand]Cells
     [Collapse]Rows
       Data Rows
       Command Row
       Category Rows
       Unbound Rows
       Fixed Rows
    [Expand]Data Editing and Validation
    [Expand]Focus and Navigation
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]SpellChecker
  [Expand]Query Builder
 [Expand]Localization
 [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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Category Rows

The ASP.NET MVC VerticalGrid provides the capability to organize grid rows in logical groups (categories).

Expanded Category Row Type

Each category is implemented as a specific row type - MVCxVerticalGridCategoryRow.

A category row is a different kind of row - it is not designed to display data values directly (it does not support data operations such as sorting, grouping, etc.), but to contain other rows as children within its MVCxVerticalGridCategoryRow.Rows collection. It is possible to have a hierarchy of nested categories by placing another category row into a category row's MVCxVerticalGridCategoryRow.Rows collection. Note that you can store a data row and a category row at the same hierarchy level (i.e., within the same Rows collection).

The code sample below demonstrates how to use category rows to create a hierarchical grid layout.

Expanded Accessing Rows in a Hierarchical Layout

Defining categories within a VerticalGrid means having a hierarchical row structure. In this case, the VerticalGrid's VerticalGridSettings.Rows property only provides access to root level rows. To make it easier to traverse through all rows, the VerticalGrid introduces a specific ASPxVerticalGrid.AllRows (through MVCxVerticalGrid.AllRows) property. It provides access to a read-only collection containing all grid rows.

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