Change DropDownList Datasource from ViewModel

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Mar 2016

    Posted 28 Apr Link to this post

    We are using Kendo MVVM.  It is easy and straightforward to set the data source for a drop down list to pull from that view model.  However, we cannot update that source and have it reflected in the drop down list.  We can do it for the combobox very easily.  Confused as to why the dropdown list would make it "difficult".  While it isn't technically difficult, it is dirty for the view model to need to access the view element directly in order to call .setDatasource.

    Please tell me I am missing something about updating the datasource of a drop down from the view model.

    -David

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 02 May Link to this post

    Hi David,

    Could you please provide a small Kendo Dojo example which demonstrates your current implementation so I can examine it and advise you accordingly?

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top