【发布时间】:2017-08-21 11:04:43
【问题描述】:
Kendo 调度程序资源分组和插槽。 我有一个带有水平资源分组的剑道调度程序。如何找到选定槽或单元的资源组。
【问题讨论】:
标签: jquery kendo-ui kendo-scheduler
Kendo 调度程序资源分组和插槽。 我有一个带有水平资源分组的剑道调度程序。如何找到选定槽或单元的资源组。
【问题讨论】:
标签: jquery kendo-ui kendo-scheduler
可以通过以下方式找到组的索引,
function scheduler_change(e) {
// the index of the group
var index = $("#scheduler").data('kendoScheduler').slotByElement(e.slots[0].element).groupIndex;
// from the resource array, resource[index] gives the required object
}
【讨论】: