-
16 May 2007 1:06 AM #1
regarding filtering from another page
regarding filtering from another page
Hi I have an ext grid working good.
In all the examples given in this forum, filter components and grid are loaded in the same page.I have a filter which is working fine. But I want to filter the grid (server side) in such a way that the filter components like check box, combo box etc. are loaded in a page and the grid is loaded in another page. ie I load the filter page on the west and grid page on the center. How can I filter the grid in this way?
Ext/Javascript experts, please help me...........
-
16 May 2007 5:43 AM #2
You can do that by simple putting the filter in one region and the grid in another region... however... if what you are looking for is this kind of solution where either or both of these components are loaded thrugh an iframe then I can't help you

-
16 May 2007 7:21 AM #3
Hi Kim, thanks for replying, what u told is right, I am loading both the filter components and grid in separate pages by means of different iframes. here the regions are situated in different pages. This is the big hurdle before me.if what you are looking for is this kind of solution where either or both of these components are loaded thrugh an iframe then I can't help you
I hope somebody would be there to answer me
-
18 May 2007 11:25 PM #4
Hi friends..
Same Kind of issue i am facing now..If somebody reply for this many will benefited....And any body have any solution or advice then please post on this throed....
!. As discussed before, any of the page loaded in an iframe ...it is impossible to solve it....
Please any body tell what is the reason and please tell any alternate for that....
joxan
-
19 May 2007 2:18 AM #5
Is there a reason why you are using iframes rather than loading ContentPanels through their UpdateManagers?
-
19 May 2007 3:29 AM #6
Hi friends,
Thank You
Is It Possible to load pages dinamically without iframes, Using update manager ?
if i have a content panel with iframe ..here i can loa dpage like this.....
how can i load page using update manager ?Code:layout.add('center', new Ext.ContentPanel('center1', {title: 'Home',fitToFrame:true, autoCreate: {tag: 'iframe', id: 'cpMain', name: 'cpMain', frameborder: 'no'}})); Ext.get('cpMain').dom.src= 'http://www.yahoo.com';
-
19 May 2007 4:12 AM #7
That's one of the whole points of this trendy "Ajax" buzzword! Using the XMLHttpRequest class to pull content from the server without refreshing the page! Hadn't you realized? This is what's going on all the time in Ext and frameworks like it.
Read the docs of ContentPanel, Element and UpdateManager.
-
19 May 2007 4:58 AM #8
Hi friend .
yes friend i know that....
Once i asked the similker query i was adviced to use iframe to load page.
i tried like
this error am getting alwaysCode:layout.add('west', new Ext.ContentPanel('westpanel', {title: 'Reports',fitToFrame:true})); var el = Ext.get('westpanel'); var mgr = el.getUpdateManager(); mgr.update('http://www.yahoo.com/');
[B][Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no][/B
y this error ? any error in my code ??
joxan
-
19 May 2007 5:35 AM #9
You can't go cross domain using ContentPanels without iframes.
if you are writing a web application though, you would be using resources on the same domain. And you would easily be able to reference objects in the various ContentPanels.
-
19 May 2007 6:04 AM #10
Hi friend
i ddit get u.. can u make bit more clear............. joxanCode:You can't go cross domain using ContentPanels without iframes. if you are writing a web application though, you would be using resources on the same domain. And you would easily be able to reference objects in the various ContentPanels. Reply With Quote


Reply With Quote