Log In
[Expand]General Information
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Binding to Data
   [Collapse]Grid View
    [Collapse]Columns and Card Fields
     [Expand]Customization Form
      Tutorial: Column Resizing
      Tutorial: Best Fit Option
      Tutorial: Auto Width Mode
      Tutorial: Fixed Columns
      Tutorial: Column Reordering
      Tutorial: Column Visibility
      Tutorial: Column Chooser API
      Column and Card Field Overview
      Data Cells
      Column Width Options - Auto-Width, Best Fit and Auto-Fill Column
      Column Visibility
      Creating Columns and Binding Them to Data Fields
      Fixed Columns
    [Expand]Rows and Cards
    [Expand]Row, Column and Cell Access API
    [Expand]Split Presentation
    [Expand]Cell Merging
    [Expand]Row Preview Sections
   [Expand]View Technology
   [Expand]Data Editing
   [Expand]Filtering and Locating Rows
   [Expand]Focus and Selection Handling
   [Expand]Processing Rows
   [Expand]Formatting Cell Values
   [Expand]Master-Detail Relationships
   [Expand]Asynchronous Image Load
   [Expand]Export and Printing
   [Expand]Appearance and Conditional Formatting
   [Expand]Batch Modifications
   [Expand]Hit Information
   [Expand]Popup Menus
   [Expand]Saving and Restoring Layouts
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
    Included Components
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Cells

Expanded Data Cells

Grid Control Views display data using columns and rows (cards). These elements correspond to bound data source fields and records respectively. Each row displays data cells arranged in a column layout. In other words, data cells are located at the intersection of rows and columns. Each data cell corresponds to a field value within a record.

The image below illustrates cell layout in different View types.

Cells are used to display and edit data. Note that each cell can have an inplace editor assigned. The DevExpress Editors Library provides a number of editors for this purpose. They include combo boxes, image editors, date and time editors, a progress bar, lookup editor and much more. Once editors are assigned, they control the way data cell values are displayed and edited. Please refer to the In-place Editors Overview section for details. Note that you can also format values displayed within cells. See the Formatting Cell Values topic for more information.

As stated above and shown in the image, data cells are at the intersection of columns and rows. Thus, you need to know the owning row and column to identify a cell when obtaining or setting cell values. This is done by passing the cell's column identifier and row handle as parameters of appropriate methods. When performing cell custom painting via events, you can identify a cell's row handle and column via the event's parameters.

Detailed information about column and row identification can be found in the Accessing and Identifying Columns and Identifying Rows and Cards topics.

Expanded See Also

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