FlexGrid for WinForms
DataMap Property (RowCol)

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
Dim instance As RowCol
Dim value As IDictionary
instance.DataMap = value
value = instance.DataMap
public IDictionary DataMap {get; set;}
property IDictionary^ DataMap {
   IDictionary^ get();
   void set (    IDictionary^ value);

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.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


RowCol Class
RowCol Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback