<?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: Pass cell value when requesting json data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/pass-cell-value-when-requesting-json-data</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/pass-cell-value-when-requesting-json-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Ed Valentine on Pass cell value when requesting json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pass-cell-value-when-requesting-json-data#p16654</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pass-cell-value-when-requesting-json-data#p16654</guid>
        	        	<description><![CDATA[<p>OnDoubleClick in a grid row, I am now passing the id column / cell inside of the json request for more data. I would like to put another cell value in to the request, is this possible.</p>
<p>ondblClickRow: function(id){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var gsr = jQuery("#list").getGridParam(&#39;id&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var sel_rec = jQuery("#list").jqGrid(&#39;getRowData&#39;,id);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;document.getElementById(&#39;edform2&#39;).style.visibility=&#39;hidden&#39;;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; document.getElementById(&#39;edform1&#39;).style.visibility=&#39;visible&#39;;<br />&#160;&#160;&#160;&#160; &#160;&#160;&#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; $.getJSON(&#39;tab1_data&#39;,&#39;id=&#39; + id+ &#39; ,acct=&#160; &#39; + sel_rec.account ,processrtn);</p>
<p>This last sends the correct value but it is not formatted as a eliment of the list.</p>
</p>
<p>Any suggestions?</p>
<p>Tha nks.</p></p>
]]></description>
        	        	<pubDate>Mon, 26 Apr 2010 00:35:07 +0300</pubDate>
        </item>
</channel>
</rss>