title: Delphi DBGrid conditional dbcombo
body: <p>I have a table with two columns. ConfigItem and ConfigValue. Now I want to populate this in a dbgrid where ConfigValue should be a dbcombobox.</p>
  
  <p>Sample ConfigItem(First Column) </p>
  
  <p>Product</p>
  
  <p>Product Type</p>
  
  <p>Item Type</p>
  
  <p>Items </p>
  
  <p>ConfigValue should have a dbcombobox and the items of the combobox should be populated on the basis of the values in the first column.</p>
  
  <p>Example. 
  If user clicks on the first row which has Product as config Item then for the same row ConfigValue column in the grid should contain combobox with list of Products.</p>
  
  <p>Possibly I can use BeforeDrawCell event of grid however I am trying to find a way by which this can be handled using adoquery or dataset component.</p>
  
  <p>Could someone please guide on the solution approach tho this problem.</p>
  
  <p>Thanks in advance,
  Divyesh</p>