Keep text that is not in the DataSource in a GridViewMultiComboBoxColumn

2 posts, 0 answers
  1. h
    h avatar
    3 posts
    Member since:
    Nov 2016

    Posted 11 Sep 2018 Link to this post

    I have a Grid with a GridViewMultiComboBoxColumn that has a DataSource, if the GridViewMultiComboBoxColumn not contain a item, the user can type one. the problem that i have is that if the item is not contained it in the DataSource the column erase the item that the user has entered. There are any way to keep the new value in the column?
  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3642 posts

    Posted 12 Sep 2018 Link to this post


    Grid columns with DataSource like GridViewMultiComboBoxColumn and GridViewComboBoxColumn expect valid values according to the specified DataSource collection. All other free user's input is ignored. This is designed behavior.

    However, we already have an article in the online documentation demonstrating how to allow free data in the RadDropDownListEditor used in the GridViewMultiComboBoxColumn. Here is the article for your reference. You can use a similar approach for the RadMultiColumnComboboxElement used in the RadMultiColumnComboboxElement. The main point is that the free user's input has to be added to the DataSource collection:

    I hope this information helps. If you need any further assistance please don't hesitate to contact me.

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top