Hi everyone,
i founded a way to change view from bar to cell mode of the timeline through a custom html input button with onclick() parameter that calls scheduler.setCurrentView with a second defined timeline specification.
Is it possible to bind that function to a navbar button, I mean: as the other ones to set different views?
Hi,
you can add a custom tab to a nav bar, just insert a div with a correct class name and the name attribute docs.dhtmlx.com/scheduler/scheduler_markup.html
The click on such div will call scheduler.setCurrentView with appropriate view parameter.
The behavior of the tabs can be altered using onBeforeViewChange event - you detect the operation needs to be altered, do a custom behavior and return false from the handler in order to prevent the default behavior: