title: Drop down Combobox inside datagridview
body: <p>I've been struggling with this problem for too long now, I've seen all the answers on the subject and though I've found several none of them seems to work for me. So the base of my problem is as follows: I have a <code>DataGridView</code> that will add a row to itself once another <code>DataGridView</code> cell is double clicked. When this <code>DataGridView</code>gets the row added, it adds 2 types of columns to itself one is a <code>ComboBox</code>, which supposedly has a collection already set in it (just went to the <code>ComboBox</code> options inside the datagrid and filled up its collection) and a check box column, now both of them do nothing once I click on them, double click, multiple click as many clicks as you want but nothing happens. I've even tried the following code.</p>
  <pre><code>public static void combolist(DataGridView combogrid)            
  {
              
      var column = new DataGridViewComboBoxColumn();
  
      DataTable data = new DataTable();
  
      data.Columns.Add(new DataColumn(&quot;Value&quot;, typeof(string)));
      data.Columns.Add(new DataColumn(&quot;Description&quot;, typeof(string)));
  
      data.Rows.Add(&quot;item1&quot;);
      data.Rows.Add(&quot;item2&quot;);
      data.Rows.Add(&quot;item3&quot;);
  
      column.DataSource = data;
      column.ValueMember = &quot;Value&quot;;
      column.DisplayMember = &quot;Description&quot;;
  
      combogrid.Columns.Add(column); 
  }
  </code></pre>
  <p>and even though I can add a new column of the type <code>ComboBox</code> to my <code>DataGridView</code> it is still empty(or appears to be since I can't click to see a drop down list). my data <code>DataGridView</code> gridview properties are set to:</p>
  <blockquote>
  <p>editMode:editOnEnter, readOnly:false.</p>
  </blockquote>
  <p>Is there something I'm missing here? Why can't I populate or display this <code>ComboBox</code>? This problem is driving me crazy, and I believe this is the best site to find an answer. I would really much appreciate it... a lot.</p>
  <p>Ok so I definitely need to see the problem from another perspective, I've even tried binding the <code>ComboBox</code> to a datasource and still doesn't display anything!, even though the same datasource binded to a normal <code>ComboBox</code> gets the desired result</p>
  <pre><code>DataGridViewComboBoxCell ComboColumn = (DataGridViewComboBoxCell)(combogrid.Rows[0].Cells[2]);
  
  ComboColumn.DataSource = class.details.GetData();
  ComboColumn.DisplayMember = &quot;name&quot;;
  </code></pre>
  <p>is there some basic step I'm missing when working with <code>ComboBox</code>inside <code>DataGridView</code>?</p>