Hello,
I am trying to implement some conditional selection of slots in monthly timeline of scheduler. I looked at an example provided here:
https://demos.telerik.com/kendo-ui/scheduler/timeline
and modified this example by adding the following code to scheduler definition (link to dojo snippet: https://dojo.telerik.com/eciQugem):
selectable: true,
change: function (e) {
var start = e.start;
var end = e.end;
e.sender.select({start: start, end: end});
},
Adding this allows to select slots in row 0 (by default - as expected), but I want to be able to select slots in any row. The documentation suggests I should specify resources in options.resources, but I have no idea what should I put there and having given it a few shots I constantly encounter errors. Could you provide me with an updated dojo example that shows how to achieve it?