<?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: jqGrid and json_encode</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-and-json_encode</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/jqgrid-and-json_encode/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jqGrid and json_encode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-and-json_encode#p5489</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-and-json_encode#p5489</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Set the additional formatter option</p>
<p>formatter:&#39;select&#39;</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 21 Mar 2009 11:34:26 +0200</pubDate>
        </item>
        <item>
        	<title>Marcel Karras on jqGrid and json_encode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-and-json_encode#p5449</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-and-json_encode#p5449</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m using jqGrid in connection with the PHP function json_encode() to create the grid configuration. This worked very well for me until the moment where I wanted to use the "editoptions" index inside my column model. The documentation states that it is possible to set the pairs as a string ...</p>
<p>editoptions:{value:"1:One;2:Two"}</p>
<p>... or as an array...</p>
<p>editoptions:{value:{1:&#39;One&#39;,2:&#39;Two&#39;}}</p>
<p>Using json_encode results in the following encoding:</p>
<p>"editoptions":{"value":{"Test":"Alle","Tes2":"One"}}}</p>
<p>As this is a valid JSON encoding I thought this should work with jqGrid but it doesn&#39;t. The effect is an error message stating...</p>
<p>$t.sopt.value.split is not a function (grid.custom.js)</p>
<p>Is this a known issue?</p>
]]></description>
        	        	<pubDate>Thu, 19 Mar 2009 11:31:44 +0200</pubDate>
        </item>
</channel>
</rss>