Say I have Timeline and Day View, if I move from day1 to day2 on Day View and then I click on Timeline View, it’ll start from day2 too. I want my Timeline View to always start from day1. Is that possible?
Thanks!
Say I have Timeline and Day View, if I move from day1 to day2 on Day View and then I click on Timeline View, it’ll start from day2 too. I want my Timeline View to always start from day1. Is that possible?
Thanks!
Hi,
you can change date with onBeforeViewChange event:scheduler.attachEvent("onBeforeViewChange", function(old_mode, old_date, mode , date){
if(mode == "timeline" && old_mode == "day"){
scheduler.updateView(day1, "timeline")
return false;
}
return true;
});
docs.dhtmlx.com/doku.php?id=dhtm … viewchange
That works for me. Thanks!