Multiple options for changing cell, row, column, and header
appearance and behavior The DataGridView control enables you
to work with individual grid components in numerous ways.
For example, you can freeze rows and columns to prevent them
from scrolling; hide rows, columns, and headers; change the
way row, column, and header sizes are adjusted; change the
way users make selections; and provide ToolTips and shortcut
menus for individual cells, rows, and columns.
The only feature that is available in the DataGrid control
that is not available in the DataGridView control is the
hierarchical display of information from two related tables
in a single control.
You must use two DataGridView controls
to display information from two tables that are in a
master/detail relationship.
1.2 Highlight of features
The following table highlights the DataGridView’s major
features. Further details about a feature can be found later
in this document
DataGridView control feature Description
Multiple column types The DataGridView control provides
TextBox, CheckBox, Image, ****on, ComboBox and Link columns
with the corresponding cell types.
Multiple ways to display data The DataGridView control can
display unbound data stored in the control, data from a
bound data source, or bound and unbound data together.
You can also implement virtual mode in the DataGridView control
to provide custom data management.
Multiple ways to customize the display and work with data
The DataGridView control provides many properties and events
that enable you to specify how data is formatted and displayed.
In addition, the DataGridView control provides multiple ways
to work with your data.
For example, you can:
sort data with corresponding sort glyph
enable selection modes by row, column or cell;
multi-selection or single selection
copy content to the clipboard in multiple formats
including text, CSV (comma separated value) & HTML
change the way users edit cell content
Multiple options for changing cell, row, column, and header
appearance and behavior
The DataGridView control enables you
to work with individual grid components in numerous ways.
For example, you can:
freeze rows and columns to prevent them from scrolling
hide rows, columns, and headers
change the way row, column, and header sizes are adjusted
based upon size
change the way users make selections
provide ToolTips and shortcut menus for individual cells,
rows, and columns
customize the border styles of cell, rows and columns
Rich extensibility support The DataGridView control provides
the infrastructure to extend and customize the grid. For
example, you can:
handle custom painting events to provide a custom look and
feel to the cells, columns and rows
derive from one of the built-in cell types to provide
additional behavior
implement custom interfaces to create a brand new editing
experience
|