<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: access jqGrid data and functions in child window</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>pgtip on access jqGrid data and functions in child window</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p6506</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p6506</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Implementing your recommendation I now get the following:</p>
<p>$(window.opener.document.getElementById("list")).getDataIDs is not a function</p>
<p>[same js libraries included for when it is one window are included in the child window i.e. libraries should be in place]</p>
<p>At this point I will leave it in the main window and not create the child window (I am at a loss)</p>
<p>Thanks,</p></p>
]]></description>
        	        	<pubDate>Tue, 05 May 2009 18:01:05 +0300</pubDate>
        </item>
        <item>
        	<title>tony on access jqGrid data and functions in child window</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p6485</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p6485</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Forgot that window.opener.document.getElementById(&#39;list&#39;) return object and not string.</p>
<p>Try :</p>
<p>$(window.opener.document.getElementById(&#39;list&#39;)).getDataIDs()</p>
<p>instead.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 05 May 2009 08:42:42 +0300</pubDate>
        </item>
        <item>
        	<title>pgtip on access jqGrid data and functions in child window</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p6428</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p6428</guid>
        	        	<description><![CDATA[<p>Sorry for the late reply - thanks for the feedback (I got pulled off onto something else).</p>
<p>I am still getting the following error message:</p>
<p>[Exception... "&#39;Syntax error, unrecognized expression: #[object HTMLTableElement]&#39; when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "&#60;unknown&#62;" data: no]</p>
<p>In the child window I do the following:</p>
<p>var storeArray = [];</p>
<p>storeArray = jQuery(&#39;#&#39; + window.opener.document.getElementById(&#39;list&#39;)).getDataIDs();</p>
<p>and get the above error.</p>
<p>The error message seems to suggest the jqGrid list does not exist but it has already loaded on the main page.....</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Sat, 02 May 2009 14:07:56 +0300</pubDate>
        </item>
        <item>
        	<title>tony on access jqGrid data and functions in child window</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p5993</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p5993</guid>
        	        	<description><![CDATA[<p>HEllo,</p>
<p>jQuery("#"+window.opener.document.getElementById(&#39;list&#39;)).getDataIDs();</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 14 Apr 2009 02:06:51 +0300</pubDate>
        </item>
        <item>
        	<title>pgtip on access jqGrid data and functions in child window</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p5927</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/access-jqgrid-data-and-functions-in-child-window#p5927</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>First of all jqGrid is a very nice plugin!</p>
<p>my jqGrid setup works without hitch. I have also put together functions that create a form based on column headers and exports the headers and data in tab/csv/excel format from the jqGrid....</p>
<p>I would like to move off this page the form that allows a user to select which columns they want to export to a popup window. The idea being that other pages that use jqGrid can just call this popup window.</p>
<p>I can access the parent table from the child popup with something like:</p>
<p>$(window.opener.document.getElementById(&#39;list&#39;)).attr(&#39;id&#39;)</p>
<p>and it displays the table id.</p>
<p>When I try to retrieve the data with a jqGrid function:</p>
<p>jQuery(window.opener.document.getElementById(&#39;list&#39;)).getDataIDs()</p>
<p>my firebug gives me ......getDataIDs is not a function.</p>
<p>[I have included the relevant javascript library declarations in the popup page.]</p>
<p>Again I don&#39;t believe this is a jqGrid error (as it works fine on 1 page scenario) but my use of javascript in general - just hoping someone may know a work around specific to jqGrid or the explanation why it is giving me this error message.</p>
<p>Closest message I saw to my question was the clone idea - not sure about that in this case.</p>
<p>I am trying to use the existing jqGrid data &#38; functions to avoid querying the database a 2nd time for the same xml information and a duplicate jqGrid....</p>
<p>Thank you,</p>
]]></description>
        	        	<pubDate>Wed, 08 Apr 2009 13:23:13 +0300</pubDate>
        </item>
</channel>
</rss>