Dynamic binding to a ComboBox Columm

2 posts, 0 answers
  1. Michael
    Michael avatar
    11 posts
    Member since:
    Oct 2013

    Posted 19 Mar 2015 Link to this post

    I have a RadGridView that displays a list of dates.

    Each date has a corresponding column called "Status" which is a ComboBox column.

    My problem is that the ComboBox column list options vary depending upon the type of Date.

    Is it possible to dynamically vary the itemsource per row based upon the date type?

    I found this example which is close to what I need but am not sure if this can be implemented in the Telerik GridView.

    Example: http://sekagra.com/wp/2013/04/dynamic-itemssource-for-combobox-in-a-datagrid/ 

    Any assistance is Much Appreciated!

  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 21 Mar 2015 Link to this post

    Hello Mike,

    In order to achieve your goal, I would suggest you using ItemsSourceBindingYou can check the article on ComboBox Column to better understand how you should configure the ItemsSourceBinding for GridViewComboBoxColumn. 

    You can also download a runnable project of the previous example from the SDK repository here.
    Although GitHub is a very well-known platform we saw a better and easier approach for reviewing our examples by developing SDK Samples Browser.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top