1. #1
    Ext User trojan's Avatar
    Join Date
    Dec 2008
    Posts
    55
    Vote Rating
    0
    trojan is on a distinguished road

      0  

    Question How to get parent container of a menu

    How to get parent container of a menu


    Hi,

    I have a menu inside another menu which again reside inside another menu (3 level). Now i want to get the component in which any particular menu resides.

    Menu 1
    Menu 1.1
    Menu 1.1.1
    Menu 1.1.2
    Menu 1.2
    Menu 1.2.1
    Menu 2
    Menu 2.1

    Now if i click on menu 1.2.1 then i want to get Menu 1.2 and then Menu 1

    But I could not find any way of doing this.
    ------------------
    Shahzad Fateh Ali

  2. #2
    Ext User trojan's Avatar
    Join Date
    Dec 2008
    Posts
    55
    Vote Rating
    0
    trojan is on a distinguished road

      0  

    Arrow Is there any one?

    Is there any one?


    Is there anyone to reply this thread?
    ------------------
    Shahzad Fateh Ali

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Use:
    Code:
    var parent = item.parentMenu.parentMenu.items.get(item.parentMenu.id);

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
    jtkeller7983 is on a distinguished road

      0  

    Default I need the container of the menu

    I need the container of the menu


    For instance I put a menu inside a panel named "test" and now when the menu is clicked I want to change something in the panel test. If this were a button inside the panel, I coud do btn.up("test") to give me the panel however menu.up("panel") is undefined.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar