1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    5
    Vote Rating
    0
    oxonfox is on a distinguished road

      0  

    Default Unanswered: Sencha Container Doubletap

    Unanswered: Sencha Container Doubletap


    Is there a way to detect a 'doubletap' event on a container? I have a container that houses all panels my application uses, and I want to be able to act on a 'doubletap' event at any time during use. Thanks!

  2. #2
    Ext GWT Premium Member icfantv's Avatar
    Join Date
    Sep 2011
    Location
    Superior, CO
    Posts
    340
    Vote Rating
    15
    Answers
    14
    icfantv will become famous soon enough

      0  

    Default


    Assuming your container is also a Widget, I *think* (I haven't tested this) you can call addDomHandler(new DoubleClickHandler() { ... }). Or maybe addHandler(...)

    Note that Sencha also has Events for double-clicking in a Cell, a Header, and a row. Grep the source code for the examples and you will find usage examples.