<?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: postData caching?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/postdata-caching</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/postdata-caching/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jackysee on postData caching?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/postdata-caching#p15379</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/postdata-caching#p15379</guid>
        	        	<description><![CDATA[<p>I found that the &#39;postData&#39; is cached in jqgrid? Is that normal? e.g.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7699' value='Select Code' data-codeid='sfcode7699' /></p>
<div class='sfcode' id='sfcode7699'>$(&#34;#grid&#34;).setGridParam({postData: {a:&#39;aaa&#39;, b:&#39;bbb&#39;}).trigger(&#34;reloadGrid&#34;);</div>
<p>The http request would have param <em>a=aaa&#38;b=bbb</em></p>
<p><input type='button' class='sfcodeselect' name='sfselectit4134' value='Select Code' data-codeid='sfcode4134' /></p>
<div class='sfcode' id='sfcode4134'>$(&#34;#grid&#34;).setGridParam({postData: {c:&#39;ccc&#39;}).trigger(&#34;reloadGrid&#34;);</div>
<p>The http request would have param <em>a=aaa&#38;b=bbb&#38;c=ccc</em></p>
<p>Currently, I would like to have &#39;clean&#39; postData every time, so I do</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2986' value='Select Code' data-codeid='sfcode2986' /></p>
<div class='sfcode' id='sfcode2986'>$(&#34;#grid&#34;).setGridParam({postData: null}).setGridParam({postData:freshDataToPost}).trigger(&#34;reloadGrid&#34;);</div>
<p>Is this the proper way?</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 06:59:36 +0200</pubDate>
        </item>
</channel>
</rss>