thuphi
#1
I use a new button, every time click on this button, it will change the view mode of scheduler.
the function will be :
function changeViewmode(viewmode)
{
scheduler.init(‘scheduler_here’,null,viewmode);
scheduler.setLoadMode(viewmode);
}
Is that right? Please consider it.
i see this function have problems, because every time, it will init the scheduler.
You can use
scheduler.setCurrentView(scheduler._date, viewmode);
To change modes dynamically. Switching setLoadMode must work as is, but beware that it may break correct data caching.
joerg
#3
i think my question is ok in this thread:
is there any function implemented, to get the actual view? if its day, month, year?
thx. joerg
You can use scheduler._mode , it always contains name of an active mode