Combo Lists
A grid cell can utilize an in-place combo list control for editing the cell data. This allows users to select items from the list and insert the selected item in the edited cell.
To specify a combo list edit control for all cells in a grid column, set that column's pbComboButton property to true.
You can control whether the user can freely edit the cell's value or only select a value belonging to the combo list. Set pbComboEntryState to true to only allow combo list values to be selected. Set it to false to allow the user to freely edit the cell's value.
To add a member to a column object's combo list, send ComboAddItem to the column object. To delete all members from the combo list, send ComboDeleteData. To retrieve the full set of combo name/value pairs, use the ComboData method.
ComboAddItem, ComboDeleteData, and ComboData can be sent to the column object any time after the grid has been created, thus allowing a column's combo list to vary according to the desired context.
To search for a particular value in a column's combo list, send ComboFindItem. This method can be used to verify that the passed value is a member of the column's combo list.
You can control whether the grid's combo buttons are displayed always or whether they are only displayed when a cell in a column with a combo list is being edited. Set the pbShowNonActiveInPlaceButton property to control this behavior.
Data Aware Grids (cDbCJGrid) automatically create and populate column combo lists according to the data dictionary definition of the table.column bound to the grid column.