Get The SelectedValue in GridViewComboBoxColumn from Database

2 posts, 0 answers
  1. Muhammad Naveed
    Muhammad Naveed avatar
    12 posts
    Member since:
    Jul 2017

    Posted 14 Jul 2017 Link to this post

    I want to update grid row and show the selected value highlighted in GridViewComboBoxColumn so that i can change value from there.

    Initially i try so many times but it will display only System.Data.DataRowView in GridViewComboBoxColumn.

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3532 posts

    Posted 17 Jul 2017 Link to this post

    Hello Muhammad, 

    Thank you for writing.  

    Please refer to the following help article which demonstrates how to setup the GridViewComboBoxColumn: http://docs.telerik.com/devtools/winforms/gridview/columns/column-types/gridviewcomboboxcolumn

    If you need to change the value, it is necessary to set the Value property of the cell considering the applied ValueMember. In the code snippet from the help article, it is the SupplierID that should be set. 

    If you are still experiencing any further difficulties, it would be greatly appreciated if you can provide a sample code snippet for your setup which demonstrates the undesired behavior. Thus, we would be able to investigate the precise case and assist you further.

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top