Hi,
we discovered an issue with different Events in Month, Agenda and Year view.
In day and week view all of the Events are working.
When you add for the different views Events for eventmousedown and eventkeydown some of them are not working.
We are using extJS 7.5.1 and Calendar 2.0.14
Example Code:
modes : {
day: {
view: {
listeners: {
eventmousedown: function (view, eventRecord, e, eOpts) {
console.log('eventmousedown is working in day');
},
eventkeydown: function (view, eventRecord, e, eOpts) {
console.log('eventkeydown is working in day');
}
}
}
},
week: {
view: {
listeners: {
eventmousedown: function (view, eventRecord, e, eOpts) {
console.log('eventmousedown is working in week');
},
eventkeydown: function (view, eventRecord, e, eOpts) {
console.log('eventkeydown is working in week');
}
}
}
},
month : {
view : {
listeners: {
eventmousedown: function (view, eventRecord, e, eOpts) {
console.log('eventmousedown is working in month');
},
eventkeydown: function (view, eventRecord, e, eOpts) {
console.log('eventkeydown is NOT working in month');
}
}
}
},
agenda : {
view : {
listeners: {
eventmousedown: function (view, eventRecord, e, eOpts) {
console.log('eventmousedown is working in agenda');
},
eventkeydown: function (view, eventRecord, e, eOpts) {
console.log('eventkeydown is NOT working in agenda');
}
}
}
},
year : {
view : {
listeners: {
eventmousedown: function (view, eventRecord, e, eOpts) {
console.log('eventmousedown is NOT working in year');
},
eventkeydown: function (view, eventRecord, e, eOpts) {
console.log('eventkeydown is NOT working in year');
}
}
}
}
}
Key events were never really supported by Month, Year and Agenda view (well except what browser itself provides ..like pressing TAB to shift focus etc).
And eventmouse*
in Agenda, Year and Month view were also just not implemented since the very beginning of those views.
I've made a feature request for that: https://app.assembla.com/spaces/bryntum/tickets/9679-add-support-of-event*-events-to-year--agenda-and-month-view/details
Thank you for the feedback!