-
3 Mar 2011 3:06 AM #1
Problem loading html page in tabpanel items
Problem loading html page in tabpanel items
I have a tabPanel as my base layout.I need to load different local pages on each tabpanel item.i set the autoLoad property with the url to load.but page doesnt get load.
Code:Ext.setup({ icon: 'icon.png', tabletStartupScreen: 'tablet_startup.png', phoneStartupScreen: 'phone_startup.png', glossOnIcon: false, onReady: function() { var tabpanel = new Ext.TabPanel({ tabBar: { dock: 'bottom', layout: { pack: 'center' } }, fullscreen: true, defaults: { scroll: 'vertical' }, items: [{ title: 'tab1', autoLoad:{url:'tab1.htm'}, listeners:{ activate : function(panel){ console.log("act"+panel); panel.getUpdater().refresh(); } } }, { title: 'tab2', autoLoad:{url:'tab2.htm'}, }] }); } });
for 'activate' listener in tabpanel item i get the below expection
Uncaught TypeError: Object [object Object] has no method 'getUpdater'.
How could we load the page dynamically?
-
15 Mar 2011 12:36 AM #2
.
.
I am having a similiar issue. But in my case (chrome) no errors thrown but the page never gets updated. Did you manage to solve this?
-
2 Apr 2011 4:50 PM #3
Did you guys figure this out?
Did you guys figure this out?
I am having the same issue, if you figured this out could you please post the solution?
Thanks!
-
5 Oct 2011 5:15 AM #4
any further developments on this issue
any further developments on this issue
Hi Guys
has anyone got any ideas on this one? I am trying to implement this approach too with no joy.
Some guidance from someone who may know would be brilliant.
Thanks
-
28 Dec 2012 12:59 AM #5
answer for above question
answer for above question
Code:listeners: { activate: function(tab) { tab.loader.load(); } }
Similar Threads
-
TabPanel calling Ajax page (html), with GridPanel inside page
By yajetechnologies in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 24 Sep 2012, 11:33 PM -
Problem in loading the extjs contained html file in tab load of tabpanel
By gudurivenugopal in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 19 Feb 2010, 8:06 AM -
Problem: Html Page loading in Tab
By saravanan.sbm in forum Ext 2.x: Help & DiscussionReplies: 12Last Post: 11 Apr 2009, 5:48 AM -
Problem in loading html page in tab - error identified
By saravanan.sbm in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 11 Apr 2009, 4:21 AM -
TabPanel problem - load html page with javascript
By dekely in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 28 Dec 2008, 4:58 AM


Reply With Quote