Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Collapse]Grid View
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Collapse]Concepts
    [Expand]Binding to Data
    [Collapse]Data Representation Basics
     [Collapse]Cells
       Cells Overview
     [Expand]Columns
     [Expand]Rows
     [Expand]Customization Window
     [Expand]Context Menu Overview
      Customization Dialog
    [Expand]Focus and Navigation
    [Expand]Data Editing
    [Expand]Data Shaping and Manipulation
    [Expand]Data Formatting
    [Expand]Master-Detail Relationship
     Appearance Customization
     Adaptivity
     Save and Restore Layout
    [Expand]Templates
     Export
     Toolbars
    [Expand]ASPxGridLookup
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Member Tables
   [Expand]ASPxGridView - Animated Images
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Cells Overview

ASPxGridView displays three types of cells: data, edit and command. These cell types are described in this document.

Expanded Data Cells

ASPxGridView displays data using data columns and rows. Each data row displays data cells. Each data cell value corresponds to a field value within a record.

Data cells are at the intersection of data column and data rows. To identify a cell when obtaining its value, you need to know its owning row and column. A data row is identified by its visible position (index) within ASPxGridView. A data column is identified by its ID, caption or the name of the data source field to which it is bound.

The following sample code obtains the department displayed within the first visible row and its budget.

The appearance settings used to paint data cells can be accessed and customized via the GridViewStyles.Cell property. These style settings are common to all data cells. Columns provide their own style settings used to paint their data cells (GridViewColumn.CellStyle). This allows you to provide custom style for data cells that reside within individual columns.

Expanded Edit Cells

Edit cells are displayed within the Edit Form when ASPxGridView is in an edit mode. They correspond to data columns and allow their values within the edited row to be changed.

An edit cell displays the name of the column to which it corresponds, as well as the editor that is used to edit column values. The editor displayed within the edit cell is specified by the column's GridViewDataColumn.PropertiesEdit property.

The style settings used to paint edit cells can be accessed via the GridViewStyles.EditFormCell property. Data columns provide the GridViewDataColumn.EditCellStyle property, which allows their edit cells to be painted using custom style settings.

Expanded Command Cells

ASPxGridView provides command columns that allow end-users to manipulate its data (switch the grid view to edit mode, update data, select and deselect rows, etc.). Command columns display command cells. A command cell displays command items.

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