Home Forums WinForms controls Xceed Grid for WinForms Combox Editor & Viewer problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #17408 |

    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)

    Xceed Support
    Member
    Post count: 5658

    Hi,

     

    Please submit a self contained sample including your data source that shows clearly the issue. Having a sample at hand will enable us to clearly identify what could be the causes of this issue. Thank you.

    Imported from legacy forums. Posted by Mohamed [Xceed] (had 1013 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.