dhtmlx调度程序的自定义布局

时间:2012-09-04 08:36:18

标签: scheduler dhtmlx

我在我的MVC项目中使用DHTMLX Scheduler。一切都好。但默认调度程序占用全屏空间。而且我无法在Scheduler中包含我自己的布局。有没有可能做到这一点。

由于

2 个答案:

答案 0 :(得分:2)

尝试这种格式可以解决我的问题。

`<div id="scheduler_here" class="dhx_cal_container" style="height:1000px;width:1075px">`.

您已设置Scheduler容器的高度和宽度。这解决了我的问题。

答案 1 :(得分:0)

调度程序占用其容器的完整大小, 所以你可以用预定义大小的元素包装它,例如

<div style="height:500px;width:700px"> <%= Scheduler.Render() %> </div> 

或者您可以显式设置调度程序的大小

scheduler.Height = 500;
scheduler.Width = 700;
相关问题