I am using the cookies extension to store the last selected views.
Unfortunately my custom buttons don’t automatically select the state of the view loaded. How can I access the views being set by the cookie extension so that I can select the correct “active” state on the buttons?
scheduler.attachEvent("onViewChange", function (new_mode , new_date){
//any custom logic here
// new_mode - view that has been activated
});
scheduler.init("scheduler_here");
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan