Skip to main content

Data Row

  • 2 minutes to read

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.

 

VisualElems_GridView_DataRow

 

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,

GridOptionsView.RowAutoHeight,

GridView.CalcRowHeight,

GridOptionsCustomization.AllowRowSizing

Vertical Scrolling Mode

GridOptionsBehavior.AllowPixelScrolling

See Also