[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
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Collapse]Vertical Grid
    Overview - VerticalGrid
    Main Features
    [Expand]Binding to Data
    [Collapse]Data Representation Basics
       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]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]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Unbound Rows

This topic describes the main concepts of using unbound rows within the VerticalGrid extension.

Expanded Unbound Rows Overview

The VerticalGrid supports bound and unbound rows. Bound rows obtain their data from a data source. Unbound rows are not bound to any field in a data source. These rows can be populated manually by handling the VerticalGridSettings.CustomUnboundRowData event or by specifying an expression using the VerticalGridDataRow.UnboundExpression property. The VerticalGrid uses the specified expression to calculate cell values for the current row. The Expressions section describes the syntax for creating expressions.

There is no difference between working with bound and unbound rows. You can sort, display summaries and filter unbound rows in the same manner as bound rows.

An unbound row meets the following requirements.

Expanded Providing Data for Unbound Rows

ASP.NET MVC VerticalGrid provides two approaches to generating data for unbound rows.

  • Using an Unbound Expression

    To provide unbound rows with data using unbound expressions, compose the expression based on a specific syntax, and assign this expression to the VerticalGridDataRow.UnboundExpression (through MVCxVerticalGridRow.UnboundExpression) property.

    The code sample below demonstrates how to add an unbound row that retrieves its data using an unbound expression.

    Partial View code:

  • Using a Delegate Method

    To provide unbound rows with data using a delegate method, assign this delegate method to the VerticalGridSettings.CustomUnboundRowData property. The delegate method assigned to this property will be called for unbound rows only.

    The code sample below demonstrates how to add an unbound row that retrieves data using a delegate method.

    Partial View code:


When the VerticalGrid extension is bound to a data source in Database Server Mode, you can only enable sorting, filtering and summary calculation for unbound rows that are populated with unbound expressions.

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