1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    61
    Vote Rating
    0
    steven is on a distinguished road

      0  

    Default Grid messing up arrow keys in header panel textfield

    Grid messing up arrow keys in header panel textfield


    I have an editable grid with a TextField in the headerPanel.
    I can type into the field fine but if I try to press the arrow key to move left the grid intercepts the keypress and changes the cell selection in the grid instead.

    TextFields that appear when editing a cell in the grid work fine, but TextFields in the headerPanel don't.

    Also, I thought I read that the grid could be setup for single click editing instead of double click. Is this possible?

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    clicksToEdit: 1 in the config.

    On your toolbar, you could add:

    toolbar.el.swallowEvent(['keypress','keydown']);

    and it should stop the grid from receiving the keys.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    61
    Vote Rating
    0
    steven is on a distinguished road

      0  

    Default


    Thanks! Both problems fixed.

Thread Participants: 1

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