If you are overriding showLightbox method, you can call from it
scheduler.showLightbox = function(id){
var ev = scheduler.getEvent(ev);
scheduler._edit_stop_event(ev, false);
... any custom code...
};
If you are overriding showLightbox method, you can call from it
scheduler.showLightbox = function(id){
var ev = scheduler.getEvent(ev);
scheduler._edit_stop_event(ev, false);
... any custom code...
};
It may be a result of some css conflict between scheduler’s styles and some other styles on the page.
By default positions of elements is calculated one under other and BRs will affect design only if style@position of element was changed.
Do you have a live demo of problematic page?
It sounds as day_date setting
docs.dhtmlx.com/doku.php?id=dhtm … ngs_config
scheduler.config.day_date = “%D, %M %j”;
Same as in existing sample, you can use
<event id="some"...
<color>red</color>
scheduler.templates.event_class=function(start,end,event){
return "color_"+event.color;
}
so the “color” value from XML will affect css class of event
And instead of dynamic css generation - provide some predefined css classes
.dhx_cal_event.color_red div{
color:red !important;
}