Change DropDownList Datasource from ViewModel

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

    Posted 28 Apr 2016 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.


  2. Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 02 May 2016 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?

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top