Hi, I use the following code to populate a combo. I have checked the code and they are being added to the combo
The Key and Value pairs are stored in a dictionary of (Integer, String)
When I populate the grid, the combos do not show.
If GridCombo.Items.Count > 0 Then GridCombo.Items.Clear()
GridCombo.Items.Add(0, "Not Available") 'Show when no scripts are available
For Each pair As KeyValuePair(Of Integer, String) In DictScripts
' ***** Add scripts list to gridcombo ******
GridCombo.Items.Add(pair.Key, pair.Value)
Next
iGDrives.Cols("Script").CellStyle.DropDownControl = GridCombo
iGDrives.Cols("Script").CellStyle.TypeFlags = iGCellTypeFlags.NoTextEdit '*** Have tried with and without this line
Edited by user
2022-04-08T07:31:17Z
|
Reason: Updated title