【问题标题】:Find a slot's group when Kendo scheduler resource grouping is used使用 Kendo 调度程序资源分组时查找插槽的组
【发布时间】:2017-08-21 11:04:43
【问题描述】:

Kendo 调度程序资源分组和插槽。 我有一个带有水平资源分组的剑道调度程序。如何找到选定槽或单元的资源组。

【问题讨论】:

    标签: jquery kendo-ui kendo-scheduler


    【解决方案1】:

    可以通过以下方式找到组的索引,

    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
    }
    

    【讨论】:

      猜你喜欢
      • 2016-10-05
      • 2014-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-07
      • 2021-02-06
      相关资源
      最近更新 更多