【发布时间】:2018-02-14 14:43:03
【问题描述】:
【问题讨论】:
【问题讨论】:
可以使用配置部分中的height 属性更改灯箱控件的高度:
scheduler.config.lightbox.sections = [
{name: "description", height: 50, map_to: "text", type: "textarea"},
{name: "time", type: "time", map_to: "auto"}
]
演示:http://snippet.dhtmlx.com/7d3ad241e
您还可以访问它们并动态更改它们的高度。在这种情况下,您还需要调用 scheduler.setLightboxSize 来重置总灯箱高度;
演示:http://snippet.dhtmlx.com/7434db034 https://docs.dhtmlx.com/scheduler/api__scheduler_setlightboxsize.html
至于灯箱的宽度,可以通过css改变—— http://snippet.dhtmlx.com/fe8375043(见 HTML 标签)
【讨论】: