[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.CellStyle.DataMap

DataMap Property

DataMap

Gets or sets an IDictionary used to associate cell values with display values.

Declaration
[Browsable(false)]
public IDictionary DataMap { get; set; }
Remarks

If the cell is editable, this list of values is used to populate the drop-down ComboBox used to edit the cell. In this case, the order of the items in the combo list is determined by the order of the elements in the dictionary.

The most common dictionary class, Hashtable, uses arbitrary order. If you want control over the item order, use a different dictionary class such as ListDictionary.

The C1FlexGrid assembly also includes a MultiColumnDictionary class, which can be used to create multi-column and data-bound dictionaries.