2 Feb 2011 10:54 PM #1
Can we change the contents in west and east region dynamically?
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
3 Feb 2011 3:50 AM #2
I would listen to the tabchange event of the tab panel and then update the other region's as needed.
3 Feb 2011 4:43 AM #3
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
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.
By mprice in forum Ext 2.x: BugsReplies: 1Last Post: 21 Jul 2008, 4:49 PM
By mprice in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 17 Jun 2008, 6:54 PM
By anilsonawane in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 20 May 2008, 11:52 PM
By Foggy in forum Community DiscussionReplies: 0Last Post: 9 May 2008, 4:17 AM
By email@example.com in forum Ext 1.x: Help & DiscussionReplies: 10Last Post: 7 Mar 2007, 2:25 AM