1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    26
    Vote Rating
    0
    Marysmitha is on a distinguished road

      0  

    Question Can we change the contents in west and east region dynamically?

    Can we change the contents in west and east region dynamically?


    Hi,

    Iam developing a border layout with the north region having few tabs ...when i click each tab the content in the west and east region should change for each tab...how can we do that ???.....anyone just tell me what technique to use rest of it i will do

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2009
    Location
    Glasgow, Scotland
    Posts
    342
    Vote Rating
    12
    Stuart-SwarmOnline will become famous soon enough Stuart-SwarmOnline will become famous soon enough

      0  

    Default


    I would listen to the tabchange event of the tab panel and then update the other region's as needed.

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You can't replace regions in a border layout, so instead I would recommend making your regions layout:'card' panels and add the possible content as items. Then you only have to call westPanel.getLayout().setActiveItem(x) to view an item.

Similar Threads

  1. Replies: 1
    Last Post: 21 Jul 2008, 4:49 PM
  2. Collapse Icon in East/West region has no padding in IE
    By mprice in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 17 Jun 2008, 6:54 PM
  3. east west region inside tabpanel
    By anilsonawane in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 20 May 2008, 11:52 PM
  4. how you can add a resizeable panel to a east or west region
    By Foggy in forum Community Discussion
    Replies: 0
    Last Post: 9 May 2008, 4:17 AM
  5. Problem with nested layout with east west region
    By rahulmca1@gmail.com in forum Ext 1.x: Help & Discussion
    Replies: 10
    Last Post: 7 Mar 2007, 2:25 AM

Thread Participants: 2