Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by redbull on Jul 09, 2009 09:22
open dhtmlx forum
scheduler style

HI,
i can't understand how can i change some style in scheduler, for example in month view i want to write more data and i use this

scheduler.templates.event_bar_date=function(start,end,event){
var tipo = event.tipo;

return "Da: <b>"+scheduler.templates.hour_scale(start)+"</b> A: <b>"+scheduler.templates.hour_scale(end)+"</b> </br>Tipo "+tipo+"<b> ";

}

in normal type of month view i can't see the two 2 lines that i create so i look for the problem in css and i found this line

dhx_cal_event_clear{font-family:Tahoma;font-size:8pt;height:13px;padding-left:2px;color:#887A2E;white-space:nowrap;overflow:hidden;cursor:pointer;}

this works but if i have 2 events there is an overflow but i don't find how i can enlarge the distance between events.

Tank you.
Answer posted by Support on Jul 09, 2009 10:08
Not possible with current version, but you can use update one ( is attached )
With it you can add next code before init of scheduler

<style>
.dhx_cal_event_line {
     height:43px;
}
</style>
<script type="text/javascript" charset="utf-8">
      scheduler.xy.bar_height=50;
</script>

Attachments (1)
Answer posted by redbull on Jul 09, 2009 10:18

Great!!!!!

Thankyou very much!