1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    464
    Vote Rating
    1
    JorisA is on a distinguished road

      0  

    Default Unanswered: HotKeys in Sencha Architect

    Unanswered: HotKeys in Sencha Architect


    Hi,

    Does anyone have graceful suggestions on how to implement Keymap in the sencha app MCV architecture? Ideally I would just have a controller action event fire. Right now I just do:

    Code:
    var me = this;
    var win = this.getNewQuoteWindow();
    win.show();
    
    var map = new Ext.KeyMap(win.el, {
        key: Ext.EventObject.ENTER,
        ctrl: true,
        fn: function(){
           me.submitForm(win);
        }
    });

  2. #2
    Sencha - Architect Dev Team
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    889
    Answers
    63
    Vote Rating
    32
    jminnick has a spectacular aura about jminnick has a spectacular aura about

      0  

    Default


    Maybe have a look at this and see if it gives you any ideas:

    http://docs.sencha.com/extjs/4.1.3/#...xt.util.KeyMap
    Jason Minnick
    Sencha Architect Development Team

Thread Participants: 1

Tags for this Thread