Log In
[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]Card View
  [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]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Navigation and Layout Extensions
  [Expand]File Management
  [Expand]Multi-Use Site Extensions
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
 [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]Document Server
[Expand]Report 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.

How would you rate this topic?​​​​​​​