What could be wring with the below ComboxEditor & Combobox viewer? I am trying to populate grid with various ID columns but do not want to show the same, rather want to display its Description. One combo works fine but the others do not. This is in Mater-Detail grids.
It doesnt throw any exception, but only shows dropdown combo in the insertionrow and blank in the datarows.
Code is as below … Any thought/correction/exception/idea on below ?
Dim
CBOViewer_Stream = New ComboBoxViewer(dsMasters, “Mst_Stream”, “AutoID”, “%Stream%”)
Dim CBOEditor_Stream = New ComboBoxEditor(dsMasters, “Mst_Stream”, “AutoID”, “%Stream%”)
Dim CBOViewer_Company = New ComboBoxViewer(dsMasters, “Mst_Company”, “AutoID”, “%CName%”)
Dim CBOEditor_Company = New ComboBoxEditor(dsMasters, “Mst_Company”, “AutoID”, “%CName%”)
‘ Main Grid
GridControl1.Columns(
“StreamID”).CellViewerManager = CBOViewer_Stream
GridControl1.Columns(
“StreamID”).CellEditorManager = CBOEditor_Stream
GridControl1.Columns(
“StreamID”).Title = “Job Family”
XceedGridContainer.SetWinComboBoxStyle(CBOEditor_Stream.TemplateControl)
CBOEditor_Stream.TemplateControl.SearchMode = Xceed.Editors.
SearchMode.FullText
CBOEditor_Stream.TemplateControl.DropDownSize =
New Size(250, 150)
GridControl1
‘Experience detail Grid
decCandExperience.Columns(
“CompanyID”).CellViewerManager = CBOViewer_Company
decCandExperience.Columns(
“CompanyID”).CellEditorManager = CBOEditor_Company
decCandExperience.Columns(
“CompanyID”).Title = “Company”
XceedGridContainer.SetWinComboBoxStyle(CBOEditor_Company.TemplateControl)
CBOEditor_Company.TemplateControl.SearchMode = Xceed.Editors.
SearchMode.FullText
CBOEditor_Company.TemplateControl.DropDownSize =
New Size(250, 150)
Imported from legacy forums. Posted by Credits (had 1124 views)