eventresizeend not fired for all day events in week and day view

Ask for help related to our Calendar 2.x version
Post Reply
User avatar
paulb
Posts: 24
Joined: Thu Apr 11, 2019 9:47 am

eventresizeend not fired for all day events in week and day view

Post by paulb »

Hi,
I built my own Calendar by extending Cal.panel.Calendar and have found a problem regarding drag and drop of the all day events in the week and day view.
I set up a listener for the eventdrop and eventresizeend events on the Calendar. While the eventdrop works the eventresizeend is only fired by the view but not the Calendar panel. I have created an override that fixes that issue:

Code: Select all

Ext.define('Sch.overrides.panel.AllDayHeader', {
    override: 'Sch.panel.AllDayHeader',
    
    relayEventsToMainView: function() {
        var me = this;
        
        me.callParent(arguments);
        
        me.mainSchedulerView.relayEvents(me.getSchedulingView(), ['eventresizeend']);
    }
});

User avatar
mats
Core Developer
Core Developer
Posts: 16566
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: eventresizeend not fired for all day events in week and day view

Post by mats »

Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply