I need a marker line for current time in the scheduler. Is this possible? Please let me know how can i implement it? Is there any other way to highlight current time?
Thanks in advance
Shiju
I need a marker line for current time in the scheduler. Is this possible? Please let me know how can i implement it? Is there any other way to highlight current time?
Thanks in advance
Shiju
You can highlight the scale cell for the current time, by customizing hour_scale template
Check samples\02_customization\09_timestep.html
You can use the similar solution, just add custom style to the necessary time scale element.
There is no way to recreate the same GUI without serious code modifications.
Can i place atleast an arrow mark to the left side as shown in the figure? Can i indicate somehow the current time highlighted?
Is there any way to indicate current time marker?
The time marker is not get updated periodically. Is it possible? If possible please let me know how can i implement it?
Thanks in advance
Shiju
You could create your own timeout(); javascript function to redraw the grid amskape???
How can i redraw timeline grid individually without reloading the whole scheduler. Is that possible?
Have a look for a function called updateView(); (or something very similar). I am sure there is a way to refresh the view without reloading the data, as I do this. I do not have my code infront of me at the moment to consult.
Actually the time marker is for hour based but i want to be done in minute based. How can i implement that? Please help.
Thanks in advance
Shiju
Can i update tile line scale div only? While using scheduler.update_view(); event section also get updated.
Thanks in advance
Shiju
Nope, scales can be repainted only as part of global update
but i want to be done in minute based
Instead of bg color, you can use a set bg-images, with different position of marker
Hi,
I have made the time marker minute based, but i got a problem on refreshing time scale. I will explain the scenario with code snippet.
calling “updateView(0)” function on scheduler load function
function updateView(timeperiod)
{
if(timeperiod)
scheduler.update_view();
//scheduler._reset_scale();
t = setTimeout(“updateView(5000)”,timeperiod);
}
its refreshing in all 5 seconds and working fine but my problem is while am scrolling down and working with events at bottom part the refresh will take the calendar to the top start position ie if i am working with event @11pm after refresh calendar will start from top ie 9am for me. How can i tackle this problem. I urgently need to fix this. Please help asap.
Thanks in advance
Shiju
any help on above issue…please reply asap…
Thanks in advance
Shiju
[code]function updateView(timeperiod){
if(timeperiod){
var view = scheduler._els["dhx_cal_data"][0];
var top = view.scrollTop;
scheduler.update_view();
view.scrollTop = top;
}
//scheduler._reset_scale();
t = setTimeout("updateView(5000)",timeperiod);
}[/code]
Wow thanks its working perfectly… Great…