Lightbox 操作
获取/设置控件值
要获取或更新某个 section 控件的值,可以像下面这样使用 formSection 对象:
// 获取值
var value = scheduler.formSection('description').getValue();
// 设置值
scheduler.formSection('description').setValue('abc');
Setting/getting values of lightbox's controls
单击打开 Lightbox
你可以配置 Lightbox 通过单击事件打开。可以结合 onClick 事件与 showLightbox 方法实现:
scheduler.attachEvent("onClick", function (id, e){
scheduler.showLightbox(id);
return true;
});
Related sample Opening the lightbox on one click