# C1.Win.FlexGrid.RowCol.DataMap

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_RowCol_DataMap_" data-uid="C1.Win.FlexGrid.RowCol.DataMap*">DataMap Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_RowCol_DataMap_" data-uid="C1.Win.FlexGrid.RowCol.DataMap*"></a>
<h4 id="C1_Win_FlexGrid_RowCol_DataMap" data-uid="C1.Win.FlexGrid.RowCol.DataMap">DataMap</h4>
<div class="markdown level1 summary"><p>Gets or sets an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.idictionary">IDictionary</a> object used to translate data values into display values
for this row or column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public IDictionary DataMap { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Property DataMap As IDictionary</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_RowCol_DataMap_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <b>DataMap</b> 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 
<b>DataMap</b> and displays the mapped value.</p>
<p>The grid also uses the <b>DataMap</b> value to populate drop-down lists when the column is editable.</p>
<p>Note that the <b>DataMap</b> property has no effect when the <a class="xref" href="C1.Win.FlexGrid.RowCol.ComboList.html#C1_Win_FlexGrid_RowCol_ComboList">ComboList</a> property is also
set. Using both properties on a single row or column is legal, but it effectively disables the <b>DataMap</b>.</p>
</div>
</div>
