<?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: Master/Detail grid: reload Detail grid upon page load</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/masterdetail-grid-reload-detail-grid-upon-page-load</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/masterdetail-grid-reload-detail-grid-upon-page-load/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>victorz on Master/Detail grid: reload Detail grid upon page load</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/masterdetail-grid-reload-detail-grid-upon-page-load#p2952</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/masterdetail-grid-reload-detail-grid-upon-page-load#p2952</guid>
        	        	<description><![CDATA[<p>Tony, thanks a lot!</p>
<p>After I&#39;ve used setTimeout() to delay a trigger firing, it worked</p>
<p>all right.</p>
<p>By the way, what exactly is the difference between gridComplete()</p>
<p>and loadComplete() events? ( I did read the doc, but unfortunately</p>
<p>didn&#39;t get a clue what loadComplete() is about).</p>
]]></description>
        	        	<pubDate>Thu, 06 Nov 2008 04:57:40 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Master/Detail grid: reload Detail grid upon page load</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/masterdetail-grid-reload-detail-grid-upon-page-load#p2897</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/masterdetail-grid-reload-detail-grid-upon-page-load#p2897</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>There will be no trigger here. Lets consider the example.</p>
<p>You first call the master and then detail. Whitin master loadind which is first</p>
<p>you try to select a item in detail. It is unknown if the detail is loaded during</p>
<p>the load complete in master. Try to use setTimeout in loadComplete when you load the page for first time.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 11:13:29 +0200</pubDate>
        </item>
        <item>
        	<title>victorz on Master/Detail grid: reload Detail grid upon page load</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/masterdetail-grid-reload-detail-grid-upon-page-load#p2884</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/masterdetail-grid-reload-detail-grid-upon-page-load#p2884</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>I am trying to trigger "gridReload" on a Detail grid, not only with</p>
<p>onRowSelect() event, but also upon the web page load. The idea is</p>
<p>to display the details of the Master grid LAST row in the Detail sub-grid</p>
<p>as a default choice.</p>
<p>The code I&#39;ve tried looks like following:</p>
<p>( in the Master grid definition )</p>
<p>&#160;&#160;&#160; ....</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridComplete: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lastRowID = jQuery("#master_grid").getDataIDs()[0];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#details_grid").setGridParam(<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: "/autoqaweb/report_categories.t?q=1&#38;id="+lastRowID,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page:1<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } ).trigger("reloadGrid");<br />&#160;...</p>
</p>
<p>Unfortunately no trigger action seems to be fired off.</p>
<p>Any idea how I can do the stuff?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 05:00:31 +0200</pubDate>
        </item>
</channel>
</rss>