<?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: malformed json string with jqGridExport </title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/malformed-json-string-with-jqgridexport</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/malformed-json-string-with-jqgridexport/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>useless on malformed json string with jqGridExport </title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/malformed-json-string-with-jqgridexport#p24112</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/malformed-json-string-with-jqgridexport#p24112</guid>
        	        	<description><![CDATA[<p>im using the jqGridExpor like this:</p>
<p>jqgrid.jqGrid(&#39;jqGridExport&#39;,{exptype:"jsonstring"})</p>
</p>
<p>in some part the json string is malformed, just right here:</p>
<p>..... &#160;&#160;&#160; "sord":"asc",&#160;&#160; &#160;"filters":"&#160;&#160; &#160;},&#160;&#160; &#160;"userData":{},&#160;&#160; &#160;"treeGrid"&#160; ....</p>
</p>
<p>the filters attribute has only one quote.</p>
<p>Solution (hardcoded):</p>
<p>var badjson = jqgrid.jqGrid(&#39;jqGridExport&#39;,{exptype:"jsonstring"});</p>
<p>var goodjson = badjson.split(&#39;"filters":"&#160;&#160; &#160;}&#39;).join(&#39;"filters":"" &#160;&#160; }&#39;);</p>
</p>
<p>i hope this get fixed in new releases. the one with the error is: 4.1.2, and i think that in the 3.8 it works fine.</p>
]]></description>
        	        	<pubDate>Sun, 31 Jul 2011 12:51:16 +0300</pubDate>
        </item>
</channel>
</rss>