1. #1
    Ext JS Premium Member Chau's Avatar
    Join Date
    Oct 2009
    Posts
    50
    Vote Rating
    0
    Chau is on a distinguished road

      0  

    Question tabIndex not working on textfield inside compositefield in a menu

    tabIndex not working on textfield inside compositefield in a menu


    I have a button-menu structure like this:

    Code:
        menu:
            container (layout: 'anchor'):
                compositefield:
                    box,
                    textfield
                compositefield:
                    box,
                    textfield
                compositefield:
                    box,
                    textfield
    I have a tabIndex on each textfield inside the compositefields and yes, they are unique.

    My problem: I cannot tab between the textfields.
    My question: Does anyone have an idea why not?

    Regards, Casper

  2. #2
    Sencha User
    Join Date
    Jul 2010
    Posts
    22
    Vote Rating
    0
    DHainzl is on a distinguished road

      0  

    Default


    Hello,

    yes, I know that this thread is old, but i stumbeled across it via google, having the same problem, and I decided to share my solution with you (in case anyone else is searching for this):

    The problem here is, that the Ext.KeyNav from the menu is catching the tabulator key.
    To solve this, I simply destroyed it when showing the menu - I only display a form in the menu and don't need a menu navigation for it:

    Code:
    this.mnu = new Ext.menu.Menu (
    {
        shadow: false,
        plain: true,
        items:
        [
            // form
        ],
        listeners:
        {
            scope: this,
            show: function (mnu)
            {
                mnu.keyNav.destroy();            
            }
        }
    });
    Too lazy to add a clever signature

Similar Threads

  1. Replies: 6
    Last Post: 13 Aug 2010, 4:15 PM
  2. loadRecord does not load textfield inside compositefield
    By rich71 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 30 Jul 2010, 6:17 AM
  3. what components can go inside a CompositeField?
    By tr888 in forum Ext Designer: Help & Discussion
    Replies: 1
    Last Post: 8 May 2010, 7:31 PM
  4. ComboBox inside Menu Unable to select text on TextField
    By DTT_11-1983 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 12 Nov 2009, 8:14 PM

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