-
15 Jun 2010 6:46 AM #1
TabPanel calling Ajax page (html), with GridPanel inside page
TabPanel calling Ajax page (html), with GridPanel inside page
Im trying to call a separate PAGE using TabPanel's autoLoad. Inside that page
I have added the base and library and other necessary stuff to run on its own.
In that page also, there is a GridPanel that would display some rows of data.
The error is that when tabPanel opens it, no GridPanel is there?? Hola...
Is there a way to like set the item of tabPanel to be independent Iframe like?...
I know about remoteLoad application stuff, but i wanted to have simple on-the-fly
tab with a grid on it....
FYI, when i attached the grid in the parent's js and add the var containing GridPanel,
and added it to item for the tabPanel, it worked. But of course, this does not solve the problem.
Help pls... \(*.*)/
Lib: Ext.3.0
-
15 Jun 2010 7:15 AM #2
Solved by me
Solved by me
Reading from DebNull's post http://www.sencha.com/forum/member.php?6744-devnull
where he said that the doc has already been loaded. So I removed the base.js and library.js
on the external page's code.... Then i moved the external page's js below the markup....
Then I added scripts:true to the autoLoad prop.
Now I got this...
The GridPanel on the external's page now works, INSIDE the tabPanel...Code:autoLoad: {url: 'ajax2.htm', params: 'foo=bar&wtf=1', scripts: true }
A pat in the back for myself!!!
-
24 Sep 2012 11:33 PM #3
Similar Threads
-
Layout inside and existing html page
By paulvonline in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 8 Mar 2010, 1:49 AM -
showing the html page in a tabpanel
By anoop abbot in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 16 Apr 2009, 1:20 AM -
Html page in TabPanel
By crmd009 in forum Ext 2.x: Help & DiscussionReplies: 8Last Post: 10 Mar 2009, 12:44 AM -
Executing a Javascript inside TabPanel autoloaded page
By furutani in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 29 Sep 2008, 9:49 AM -
Problem nesting a TabPanel inside a tab page
By murrah in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 4 Nov 2007, 7:35 PM


Reply With Quote