Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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
    16
    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