Is it possible to replace the Today button in the timeline view with a custom button?
Hi,
if you need to override it’s behavor, you can use “onBeforeTodayDisplayed” event, which is triggered when user click ‘Today’:scheduler.attachEvent("onBeforeTodayDisplayed", function(){
if(scheduler.getState().mode == "timeline"){
//do something
return false;//cancel default behavior
}
return true;//'true' for default behavion
});
If you want to change the button itself, you can find it in markup
[code]
[/code]you can remove or modify it