创建自定义事件框的HTML内容
container | HTMLElement | 事件的容器元素 |
event | object | 事件数据对象 |
boolean |
|
scheduler.renderEvent = function(container, ev) {
var container_width = container.style.width;
var html = "<div class='dhx_event_move my_event_move' style='width:" +
+ container_width + "'></div>";
...
container.innerHTML = html;
return true;
}
请注意,此方法仅适用于具有垂直刻度的视图,如Day视图或Week视图。