<?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: Potential Bug with jgGridExport and PostData Grid Parameter</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter</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/potential-bug-with-jggridexport-and-postdata-grid-parameter/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Potential Bug with jgGridExport and PostData Grid Parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15387</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15387</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for this. Yes we have tested the export, but not import.</p>
<p>Also will be fixed.</p>
<p>Thnaks again</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 11:43:16 +0200</pubDate>
        </item>
        <item>
        	<title>genny on Potential Bug with jgGridExport and PostData Grid Parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15371</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15371</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m using the 3.6.4 version of the jqGrid and also need to do exports of grid config, store it, and then reimport it at some later point.</p>
<p>The bug was fixed for the export, but when importing, the filter does not come right, the url takes the filter as [Object+object].</p>
</p>
<p>I had to quote the whole filters json string in single quotes at lines 163 to 166</p>
<blockquote>
<p>if(gprm.postData.filters != undefined) {<br />&#160;&#160; ret=ret.replace(/filters":"/,&#39;filters":\&#39;&#39;);<br />&#160;&#160; ret=ret.replace(/}]}"/,"}]}&#39;");<br />}</p>
</blockquote>
<p>Hope this helps!</p>
<p>Genny</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 00:10:53 +0200</pubDate>
        </item>
        <item>
        	<title>billy on Potential Bug with jgGridExport and PostData Grid Parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15153</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15153</guid>
        	        	<description><![CDATA[<p>thanks!</p>
]]></description>
        	        	<pubDate>Thu, 25 Feb 2010 15:28:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Potential Bug with jgGridExport and PostData Grid Parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15123</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15123</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I do not know which version do you use, but it is fixed in 3.6.4</p>
<p><a href="http://github.com/tonytomov/jqGrid/commit/da8d05ff0f96ceaa078916baa195288c8400b447" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....8c8400b447</a></p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 24 Feb 2010 19:48:02 +0200</pubDate>
        </item>
        <item>
        	<title>billy on Potential Bug with jgGridExport and PostData Grid Parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15100</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/potential-bug-with-jggridexport-and-postdata-grid-parameter#p15100</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I am using the jqGridExport/Import functions and have come across a potential bug when using&#160; postdata with setGridParam.</p>
</p>
<p>If I do a search with the grid and then hit the default reset/reload button on the pager, and then export my grid I get non-valid json in the form of:</p>
<blockquote>
<p>...</p>
<p>"postData":{<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"_search":false,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"nd":1266945818052,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"rows":5000,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"page":1,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"sidx":"BLDRM",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"sord":"asc",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"filters":"<br />&#160;&#160; &#160;&#160;&#160; &#160;},</p>
<p>...</p>
</blockquote>
<p>as you can see there appears to be an unescaped quote for filters</p>
</p>
<p>BUT if i create my own reset button using the code below:</p>
</p>
<blockquote>
<p>jQuery("#showBuildings").setGridParam(<br />&#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;postData:<br />&#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;serialString : "status=1",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;filters:null<br />&#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;page:1,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;search:false<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;).trigger("reloadGrid");</p>
</blockquote>
<p>I am able to get the export to function as expected:</p>
<blockquote>
<p>...</p>
<p>"postData":{<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"_search":false,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"nd":1266945392829,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"rows":5000,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"page":1,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"sidx":"BLDRM",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"sord":"asc",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"filters":null,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;"serialString":"status=1"<br />&#160;&#160; &#160;&#160;&#160; &#160;},</p>
<p>...</p>
</blockquote>
<p>Any attempt to use filter:&#39;&#39; or filter:"" will cause the export to produce invalid json, only null seems to produce valid results.</p>
</p>
<p>does this seem like a bug to you?</p>
</p>
<p>thanks</p>
<p>billy</p>
]]></description>
        	        	<pubDate>Tue, 23 Feb 2010 19:36:40 +0200</pubDate>
        </item>
</channel>
</rss>