<?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: dependent grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dependent-grid</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/dependent-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on dependent grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dependent-grid#p16177</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dependent-grid#p16177</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is difficult to do since of the ajax requests - it is unknown which one will finished first - this for the first and this for the second grid.</p>
<p>One possible solution is to use ajaxGridOptions for the first grid where you set async to false and then use loadComplete to set the needed variables on the second.</p>
<p>Also in loadComplete you have the request as parameter</p>
<p>loadComplete : function(request) {</p>
<p>// convert here the json response to object, maybe using eval and</p>
<p>// then you have a object with all the needed information</p>
<p>// wher you can get it and pass tothe second grid using setGridParam</p>
<p>}</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 03 Apr 2010 13:06:40 +0300</pubDate>
        </item>
        <item>
        	<title>bas_vdl on dependent grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dependent-grid#p15918</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dependent-grid#p15918</guid>
        	        	<description><![CDATA[<p>hi guys,</p>
</p>
<p>i need to load some data into a second grid based on a value from the first grid json response.</p>
<p>i added an extra vriable to the json response (type) of the first grid.</p>
</p>
<p>on loadComplete of the first grid i&#39;m loading the second one. but how can i pass the variable type to the url of the second grid?</p>
</p>
<p>like this: data.php&#38;type=biz</p>
</p>
<div class="netInfoResponseText  netInfoText ">
<pre><strong>json response of the first grid:</strong><p><input type='button' class='sfcodeselect' name='sfselectit5014' value='Select Code' data-codeid='sfcode5014' /></p><div class='sfcode' id='sfcode5014'>{&#34;rows&#34;:[<br />    {&#34;id&#34;:&#34;7&#34;,&#34;cell&#34;:[&#34;7&#34;,&#34;1&#34;,&#34;priv&#34;,&#34;&#34;,&#34;*&#34;,&#34;Kpn mobile&#34;,&#34;m_nl&#34;,&#34;&#34;,&#34;0.07&#34;,&#34;&#34;]}<br />],<br />&#34;records&#34;:&#34;1&#34;,<br />&#34;type&#34;:&#34;biz&#34;}</div><br />thank you in advance<br /><br />regards,<br /><br />bas<br /></pre>
</div>
]]></description>
        	        	<pubDate>Wed, 24 Mar 2010 09:54:48 +0200</pubDate>
        </item>
</channel>
</rss>