1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    24
    Vote Rating
    0
    ishak1981 is on a distinguished road

      0  

    Post Unanswered: multiple Keylistener on a Grid

    Unanswered: multiple Keylistener on a Grid


    How can I add a multiple Keylistener like STGR+A on a Grid?
    I tried with
    HTML Code:
    personGrid.addListener(KeyNav.getKeyEvent(),
                    new Listener<GridEvent<BeanModel>>() {
    if(be.getKeyCode()==17 && be.getKeyCode()==65)
    ...
    , but it didn't work.

    Thanks.
    Isak

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    What is STGR?

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,579
    Answers
    540
    Vote Rating
    314
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    I assume you mean STRG rather than STGR. Strg is short for Steuerung, German for control.

    It looks like you're using Ext GWT. This forum is for ExtJS 4, there is a separate forum for Ext GWT.

    In ExtJS you could check for Ctrl+A with something like this:

    Code:
    if (ev.getKey() === ev.A && ev.ctrlKey) {
        ...
    }
    Here ev.A is just a constant equal to 65.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi