I am trying to change the navigation by clicking on the day cell in the year view.
Expectation:
When I double click, go to the day in day view, even if the cell has events or not.
Thanks
Hey,
You can achieve that, you can use the following event listener
listeners : {
scheduleDblClick : ({ source }) => {
source.calendar.modes.day.show();
}
}
https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#function-show
https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-scheduleDblClick
Best regards,
Márcio
Indeed it seems this doesn't work, so here's the ticket for that small fix: https://github.com/bryntum/support/issues/6871
Hey bluecraziness1,
You can use the https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayNumberClick event and return false to avoid changing the view.
listeners : {
dayNumberClick : (eventData) => {
console.log('dayNumberClick', eventData);
return false;
}
}
Best regards,
Márcio