[OPEN-335] eventdblclick on CalendarPanel?

Request new features or modifications for Extensible components

[OPEN-335] eventdblclick on CalendarPanel?

Postby bhutten » Wed Aug 15, 2012 5:07 am

I'm listening for the "eventclick" event from Extensible.calendar.CalendarPanel in order to display my own editing window - works fine. However, I need to listen for a double click instead. Strangely, there's no "eventdblclick" event - am I missing something obvious?


- bill
Posts: 9
Joined: Sat Jun 30, 2012 8:13 am

Re: eventdblclick on CalendarPanel?

Postby brian.moeskau » Wed Aug 15, 2012 3:13 pm

It's not there simply because no one has ever asked for it. Also, the CalendarPanel events are helpful, but ultimately they are simply convenient wrappers for standard DOM or Ext events. You could certainly handle the DOM dblclick event yourself at any point and just check that the event target is an event.

I'll put this on the list to add is it would be convenient and quite simple to add.
Personal Blog: Extraneous / Twitter: @bmoeskau / Meetup: Austin Bleeding Edge Web
User avatar
Site Admin
Site Admin
Posts: 1344
Joined: Sat Sep 18, 2010 5:00 pm
Location: Austin, Texas

Re: [OPEN-335] eventdblclick on CalendarPanel?

Postby marmstrong » Sun Dec 08, 2013 6:11 am

This may help you. I mess with some of the calendar click handling in the Abstract after render.

Code: Select all
afterRender : function(){
//        Change the click handling for smartphones
        var os = Ext;
        if(os.is.iOS || os.is.iPad || os.is.iPhone || os.is.iPod || os.is.Android){
              'click': this.onClick,
              scope: this
           this.el.un('click', this.onClick, this);
              'dblclick': this.onClick,
              scope: this
            'mouseover': this.onMouseOver,
            'mouseout': this.onMouseOut,
//            'click': this.onClick,
//            'dblclick': this.onClick,
         //'resize': this.onResize,
            scope: this
Posts: 14
Joined: Thu Sep 08, 2011 3:20 pm

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest