i'd like to ask for your help regarding implementation of combobox in TcxGrid cell. I'd like to fill it with list of custom string values. This list will be loaded from SQL table in my database. Which component is suitable for this task and how shouild i implement it in MainForm and in my custom class ? I am attaching my simple project also with screens of running application and SQL table. The combobox should be placed in each of the cells of grid column named 'Funkce', instead of just a string, and it should display values of 2nd column of SQL table.
Thanks for your advice.
If you wish to show data from a DataSet in an in-place dropdown editor, I recommend you consider using one of the following ways:
A) Use LookupCombobox (instead of ComboBox) as an in-place editor assigned to the required DataSet (in your case, assigned to your SQL Table);
B) Use ExtLookupComboBox:
1) Create an extra GridView and assign it to your SQL Table;
2) Assign an in-place ExtLookupComboBox to the GridView to show its data in a dropdown window of a Grid cell.