ComponentOne FlexGrid for WinForms
DataMap Property (RowCol)

C1.Win.C1FlexGrid Namespace > RowCol Class : DataMap Property
Gets or sets an System.Collections.IDictionary object used to translate data values into display values for this row or column.
Public Property DataMap As IDictionary
public IDictionary DataMap {get; set;}

The DataMap property allows you to implement "translated" rows or columns. In translated rows or columns, the grid does not display the values stored in the cells. Instead, it looks up those values in the column's DataMap and displays the mapped value.

The grid also uses the DataMap value to populate drop-down lists when the column is editable.

Note that the DataMap property has no effect when the ComboList property is also set. Using both properties on a single row or column is legal, but it effectively disables the DataMap.

See Also


RowCol Class
RowCol Members