good, the standard grid scheduler is hourly, like to know if I put this is complicated grid every half hour? and how to do it? Thank you all!
Hi,
please add the follow code into scheduler_include.html file:
<script>
scheduler.templates.hour_scale = function(date){
html="";
var step = 30;
var format = scheduler.date.date_to_str(scheduler.config.hour_date);
var height = scheduler.config.hour_size_px/(60/step);
for (var i=0; i< 60/step; i++){
html+="<div style='height:" + height + "px;line-height:21px;'>"+format(date)+"</div>";
date = scheduler.date.add(date,step,"minute");
}
return html;
}
</script>
Also you may configure option “Height of 1 hour in pixels” - for example 82 will be good.