# C1.Win.FlexGrid.RowCol.ComboList

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_RowCol_ComboList_" data-uid="C1.Win.FlexGrid.RowCol.ComboList*">ComboList Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_RowCol_ComboList_" data-uid="C1.Win.FlexGrid.RowCol.ComboList*"></a>
<h4 id="C1_Win_FlexGrid_RowCol_ComboList" data-uid="C1.Win.FlexGrid.RowCol.ComboList">ComboList</h4>
<div class="markdown level1 summary"><p>Gets or sets a list of items to be used by the drop-down editor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string ComboList { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ComboList As String</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_RowCol_ComboList_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <b>ComboList</b> property specifies the type of editor to be used when editing a cell. You may use a text box, 
drop-down list, drop-down combo, or an edit button to pop up custom editor forms.</p>
<p>To use the <b>ComboList</b> property, set the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AllowEditing.html#C1_Win_FlexGrid_C1FlexGridBase_AllowEditing">AllowEditing</a> property to True, and 
set the <b>ComboList</b> property to a string that describes the type of editing you want to use for that cell. 
The options are described below:</p>
<p>1. To edit the cell using a regular text box, set the <b>ComboList</b> property to an empty string ("").</p>
<p>2. To edit the cell using a drop-down list, set the <b>ComboList</b> property to a string containing the available 
options, separated by pipe characters (for example "option 1| option 2").</p>
<p>3. To edit the cell using a drop-down combo, set the <b>ComboList</b> property to a string containing the 
available options, separated by pipe characters and starting with a pipe character (for example "|option 1|option 2").</p>
<p>4. To display an edit button, set the <b>ComboList</b> property to a string containing an ellipsis ("..."). 
Edit buttons look like regular push buttons, aligned to the right of the cell, with an ellipsis as a caption. 
When the user clicks on the edit button, the grid fires the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.CellButtonClick.html">CellButtonClick</a> event. 
In this case, the user can't edit the cell contents directly.</p>
<p>5. To display an edit button next to an editable cell, set the <b>ComboList</b> property to a string containing a 
pipe and an ellipsis ("|..."). In this case, you get a regular edit button but the user can also edit the cell 
contents directly.</p>
<p>Note that the <b>ComboList</b> property has precedence over the <a class="xref" href="C1.Win.FlexGrid.RowCol.DataMap.html#C1_Win_FlexGrid_RowCol_DataMap">DataMap</a> property.
Using both properties on a single row or column is legal, but it effectively disables the <b>DataMap</b>.</p>
</div>
</div>
