FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / DetailRow Class / DataMap Property

In This Topic
    DataMap Property (DetailRow)
    In This Topic
    Gets or sets an System.Collections.IDictionary object used to translate data values into display values for this row or column.
    Syntax
    'Declaration
     
    
    Public Property DataMap As IDictionary
    public IDictionary DataMap {get; set;}
    Remarks

    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 RowCol.ComboList property is also set. Using both properties on a single row or column is legal, but it effectively disables the DataMap.

    See Also