<?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: Speed selection row with master-details table...</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/speed-selection-row-with-master-details-table</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/bugs/speed-selection-row-with-master-details-table/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>cekkinus on Speed selection row with master-details table...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/speed-selection-row-with-master-details-table#p23934</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/speed-selection-row-with-master-details-table#p23934</guid>
        	        	<description><![CDATA[<blockquote>
<p>cekkinus said:</p>
<p>Sorry for my english. In a configuration master-details table (also in the demo of Trirand site), if i select fastly the row of master, the header title of details is right but the data is the data of selection before....</p>
<p>Regards and compliments.</p>
</p>
<p>Andrea</p>
</blockquote>
<hr />
<p>Is not a bug but an normal behavior of one ajax request. im solved therefore:</p>
<p>FOR MASTER:(#contratti)</p>
<p>............</p>
<p>onSelectRow: function(ids) { <br />&#160;&#160; &#160;valore_contratto=$("#contratti").getCell(ids,&#39;nome_con&#39;);<br />&#160;&#160; &#160;idcontratto=ids;<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;if (ids == null) { <br />&#160;&#160; &#160;ids=0;<br />&#160;&#160; &#160;if (jQuery("#dettagli").jqGrid(&#39;getGridParam&#39;,&#39;records&#39;) &#62;0 ) {<br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#dettagli").jqGrid(&#39;setGridParam&#39;,{url:"json_select_dettagli.php?id="+ids+"&#38;VAL="+valore_contratto,page:1}).trigger(&#39;reloadGrid&#39;);<br />&#160;&#160; &#160;&#160;&#160;&#160; <br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;} else { <br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#dettagli").jqGrid(&#39;setGridParam&#39;,{url:"json_select_dettagli.php?id="+ids+"&#38;VAL="+valore_contratto,page:1}).trigger(&#39;reloadGrid&#39;);</p>
<p>............</p>
<p>FOR DETAILS(#dettagli)</p>
</p>
<p>loadComplete:function(responce){<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; &#160;<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;&#160; jQuery("#dettagli").jqGrid(&#39;setCaption&#39;,"Dettagli Contratto: "+responce.VAL); <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; <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;&#160; },</p>
<p>.........</p>
<p>IN PHP FILE:</p>
<p>$VAL=$_GET[&#39;VAL&#39;];</p>
<p>............</p>
<p>$responce = new stdClass();<br />$responce-&#62;page = $page;<br />$responce-&#62;total = $total_pages;<br />$responce-&#62;records = $count;<br />$responce-&#62;VAL = $VAL;</p>
<p>.............</p>
]]></description>
        	        	<pubDate>Mon, 11 Jul 2011 20:20:04 +0300</pubDate>
        </item>
        <item>
        	<title>cekkinus on Speed selection row with master-details table...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/speed-selection-row-with-master-details-table#p23931</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/speed-selection-row-with-master-details-table#p23931</guid>
        	        	<description><![CDATA[<p>Sorry for my english. In a configuration master-details table (also in the demo of Trirand site), if i select fastly the row of master, the header title of details is right but the data is the data of selection before....</p>
<p>Regards and compliments.</p>
</p>
<p>Andrea</p>
]]></description>
        	        	<pubDate>Mon, 11 Jul 2011 09:48:53 +0300</pubDate>
        </item>
</channel>
</rss>