Categories | Question details Back To List | ||
Changing the hour scale values Hii Please help me for the issue..In dhtmlscheduler how can i provide the time slot of 15minutes...that means i need to see the hour scale as 1.00,1.30,2.00,....so that i can have the slot of 15min. Is it possible or tell me your suggestion Thank You Vineetha Answer posted by Stanislav (support) on Nov 25, 2009 04:15 <style type="text/css" media="screen"> .dhx_scale_hour{ line-height:normal; } </style> <script> var step = 15; var format = scheduler.date.date_to_str("%H:%i"); scheduler.config.hour_size_px=(60/step)*21; scheduler.templates.hour_scale = function(date){ html=""; for (var i=0; i<60/step; i++){ html+="<div style='height:21px;line-height:21px;'>"+format(date)+"</div>"; date = scheduler.date.add(date,step,"minute"); } return html; } <script> But you need to have the latest version of scheduler to use it at full. |