5 Answers, 1 is accepted
You should also bind the DataSource - when using data attribute initialization it is done as shown below:
Also if the above solution doesn't work for you - please provide runable project where the issue is reproduced.
Additional information on source binding in MVVM can be found here.
Before I create a sample project with a schedule, can you explain what I should include as yourdatasource.
I am using MVC wrappers. and my resources are coming from the server. I tried binding to a kendo observable viewmodel but that did not seem to work.
see my schedule and my template below.
I apologize for misleading you. Obtaining the DataSource for this ComboBox from the EditorTemplate is a complicated task. A simpler approach would be to open a script tag in your template and initialize a ComboBox or DropDownList widget using the Scheduler's resources as a DataSource. For convenience I prepared a small example demonstrating how to populate a DropDownList in a custom EditorTemplate.
The example works in chrome but not in IE 10, any ideas?