Posted 11 June 2018, 1:13 pm EST
Hi I am trying to make a column in the flexgrid as a dropdow. I need to load this at runtime. I am trying to use the below code but the combolist property takes only a string and not a key value object
Dim _defaultCol As C1.Win.C1FlexGrid.Column
_defaultCol = grdLinkSuppliers.Cols.Add()
_defaultCol.Name = "Default BU"
_defaultCol.Caption = "Dafault BU"
_defaultCol.ComboList = "UK|USA|Dubai|Asia"
_defaultCol.Width = 55
The values in my combo list actually come from the database. The have an Id and a code. I need the column to function as a regular combobox so I can save the selected item in the combo as Id and show the same on retrieving the data.