[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 With Data Grid and Views
   [Expand]Data Binding
    Unbound Columns
   [Expand]Data Editing and Validation
   [Expand]Filter and Search
   [Expand]Focus and Selection Handling
    Formatting Cell Values
   [Expand]Master-Detail Relationships
   [Expand]Asynchronous Image Load
   [Expand]Export and Printing
   [Expand]Appearance and Conditional Formatting
    Split Presentation
    Row Preview Sections
   [Expand]Batch Modifications
   [Expand]Hit Information
    Popup Menus
   [Expand]Saving and Restoring Layouts
   [Collapse]Visual Elements
    [Expand]Grid Control Elements
    [Expand]View Common Elements
    [Collapse]Grid View Elements
      Auto Filter Row
      Column Header
      Column Header Context Menu
      Column Header Image
      Column Header Panel
      Customization Form
      Data Row
      Empty Space
      Filter Button
      Fixed Panel Divider
      Footer Cell
      Footer Context Menu
      Group Expand Button
      Group Footer
      Group Panel
      Group Panel Context Menu
      Group Row
      Group Row Check Box Selector
      Header Panel Button
      Preview Section
      Row Cell
      Row Indicator Panel
      Row Separator
      Sort Glyph
      View Footer
    [Expand]Card View Elements
    [Expand]Layout View Elements
    [Expand]Banded Grid View Elements
    [Expand]Master-Detail Mode Related Elements
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
    Included Components
  [Expand]Vertical Grid
  [Expand]Property 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]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

Data Row

A data row represents an individual data source record. Rows contain row cells used for displaying and editing values of particular data fields. In Grid Views and Advanced Banded Grid Views, row cells are arranged in a single line. In Advanced Banded Grid Views, row cells can be arranged across several lines.

A row edge is a single line displayed below row cells. The end-user can drag the row edge in order to change row height. Row resizing is in effect if the GridOptionsCustomization.AllowRowSizing property is set to true.

Data rows may also include preview sections, row separators and group indents (regions displayed under group expand buttons). If a data row belongs to a master view, it owns the detail section displaying the currently expanded detail.



The table below lists the main properties affecting the element's appearance and behavior.

Appearance You can customize the style of each separate element within a data row. See the row cell, preview section and row separator element descriptions for more information. The default appearance of group indents is determined by the GridViewAppearances.GroupRow property. You can handle the GridView.GroupLevelStyle event to redefine styles for particular group indents (as well as group rows).

The GridView.RowCellStyle event can be handled to provide appearance settings for individual cells.

The GridView.RowStyle event can be handled to provide appearance settings for entire rows.

Custom Draw Event See the row cell, preview section topics for information on painting these elements manually.
Row Height GridView.RowHeight,
Vertical Scrolling Mode GridOptionsBehavior.AllowPixelScrolling

Expanded See Also

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