<?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: getRowData passing from master to detail</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail</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/getrowdata-passing-from-master-to-detail/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bouton on getRowData passing from master to detail</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p2018</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p2018</guid>
        	        	<description><![CDATA[<p>As always - user&#39;s fault - 😉</p>
<p>I was passing a non-unique ID. When you suggested the colModel - that got me thinking - hey maybe the query is wrong. Thanks.!</p>
<p>Solved.</p>
]]></description>
        	        	<pubDate>Fri, 12 Sep 2008 05:38:02 +0300</pubDate>
        </item>
        <item>
        	<title>tony on getRowData passing from master to detail</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p2008</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p2008</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Also check your colModel - do you have column which</p>
<p>name is resolution?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 12 Sep 2008 02:33:34 +0300</pubDate>
        </item>
        <item>
        	<title>bouton on getRowData passing from master to detail</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p1997</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p1997</guid>
        	        	<description><![CDATA[<p>Sorry - No - that was my typo inthe post - sorry - I in fact do have</p>
<p>&#160;var ret = jQuery("#masterGrid").getRowData(ids); <br />&#160; var machineName= ret.machineName;<br />&#160; var resolution= ret.resolution;<br />&#160;&#160; alert(resolution+" "+machineName);</p>
</p>
<p>and both resolution and machineName - and its still not picking up the different resolutions. The machineName is fine - the resolution doesn&#39;t change. What am I doing wrong as I want to pass two parameters to the get detail url. Thanks.</p>
]]></description>
        	        	<pubDate>Thu, 11 Sep 2008 06:52:02 +0300</pubDate>
        </item>
        <item>
        	<title>tony on getRowData passing from master to detail</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p1934</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p1934</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>check you code again. Maybe there are some typos here - By</p>
<p>example: you alert</p>
<p>alert(resolution+&#8221; &#8220;+<strong>machineName</strong>);</p>
<p>but actually this should be</p>
<p>alert(resolution+&#8221; &#8220;+<strong>machine</strong>);</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 09 Sep 2008 03:17:39 +0300</pubDate>
        </item>
        <item>
        	<title>bouton on getRowData passing from master to detail</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p1922</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-passing-from-master-to-detail#p1922</guid>
        	        	<description><![CDATA[<p>I have a master detail setup. Works fine passing the id.&#160; But in addition to passing the ID, I want to pass another field from the master table row into the query for the detail grid.</p>
<p>Using the example provdedI thought this would work. But just using the alert test to see what is returned - the machinename changes every time, but the resolution does not change. Any ideas? (using 3.2)</p>
<p>I set up master table and then...</p>
<p>, onSelectRow: function(ids) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var ret = jQuery("#masterGrid").getRowData(ids); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var machine= ret.machineName;<br />&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; var resolution= ret.resolution;<br />&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; alert(resolution+" "+machineName); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(ids == null) { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ids=0; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(jQuery("#detailGrid").getGridParam(&#39;records&#39;) &#62;0 ) <br />&#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; jQuery("#detailGrid").setGridParam({url:"get.php?resolution="+resolution+"&#38;machine="+machine+"&#38;q=5&#38;id="+ids,page:1}) <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .setCaption("Performance Detail: "+ids)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .trigger(&#39;reloadGrid&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#detailGrid").setGridParam({url:"get.php?resolution="+resolution+"&#38;machine"+machine+"&#38;q=5&#38;id="+ids,page:1}) <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .setCaption("Performance Detail: "+ids) <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .trigger(&#39;reloadGrid&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
]]></description>
        	        	<pubDate>Mon, 08 Sep 2008 12:37:15 +0300</pubDate>
        </item>
</channel>
</rss>