Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有上面提到的问题。
我想在调度程序上创建一个小上下文菜单。当我单击选定的单元格时。
问题是当我右键单击选定的单元格时,它只选择一个被单击的单元格并取消选择其他单元格。
有解决方案吗?
默认情况下,剑道调度程序支持单选。没有设置多项选择的特定选项。要进行多项选择,请按住“Shift”键+鼠标单击。
一旦选择了多个插槽,请按照相同的方法添加约会。即 “Shift”键+右键单击最后一个选定的插槽,将弹出整个选择的上下文菜单。
此外,要获得多个选定的插槽开始和结束时间,请定义调度程序的“更改”功能:
change: function (e) { var startTime = e.start; var endTime = e.end; }
希望这可以帮助。