1. #1
    Sencha User
    Join Date
    Apr 2011
    Location
    Hyderabad
    Posts
    23
    Vote Rating
    1
    shilpay is on a distinguished road

      0  

    Default How to map keys to a button in extjs4

    How to map keys to a button in extjs4


    HI, I have to submit the form when user hit on enter key or submit button. Here how can I handle the enter key. For text fields 'specialkey' listener is working. For buttons its not working. Please any one help me to get it out.

    Thanks in Advance.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    See if the following will help:

    Code:
    form.mon(form.el, {
        keypress : function(e, t, opts) {
            if (e.getKey() == e.ENTER) { alert('keypress'); }
        }
    });
    Scott.

Thread Participants: 1

Tags for this Thread

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