I’ve created a grid bound to the orders table in the Northwind database, but I can’t seem to get the ShipCountry colum to display as a combobox the way it does in the examples provided. I would expect the entire orders table to display in the grid (this works) and the shipCountry to be viewed as a dropdown (this doesn’t). This doesn’t seem to be the case with the sample of code below:
OleDbDataAdapter1.Fill(DataSet11)
GridControl1.BeginInit() ‘ EndInit will be called later
GridControl1.SetDataBinding(DataSet11, “Orders”)
Dim editor As New Xceed.Grid.Editors.ComboBoxEditor
GridControl1.Columns(“ShipCountry”).CellEditorManager = editor
GridControl1.EndInit()
thanks for any help
Imported from legacy forums. Posted by max11 (had 2568 views)