Hi,
All seems fine with your code with the exception that
setDataSource should be called as a method:
var newDataSource = new kendo.data.DataSource({ data: newData });
scheduler.setDataSource(newDataSource);
Or perhaps you've meant to replace the current data source data without creating a new instance:
scheduler.dataSource.data(newDataSource);
These functionally equivalent, but the second option is slightly more efficient.
I hope this helps.
Regards,
T. Tsonev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!