跳转到主要内容

keys

Description

为调度器设置快捷键

keys: SchedulerHotkeys

Example

scheduler.keys.edit_save = 32;
...
scheduler.init('scheduler_here',new Date(),"month");

Details

keys 对象包含以下属性:

属性

说明

默认值

适用视图

edit_save指定用于确认编辑操作的键盘键的键码(作为点击 lightbox 中"保存"按钮的替代方式)13("Enter"键)所有视图
edit_cancel指定用于取消编辑操作的键盘键的键码(作为点击 lightbox 中"取消"按钮的替代方式)27("Escape"键)所有视图
注释

注意,所有 keys 属性都使用"number"数据类型。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.