<?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: editoptions and special characters</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters</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/editoptions-and-special-characters/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Marcel Karras on editoptions and special characters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7610</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7610</guid>
        	        	<description><![CDATA[<p><a href="http://tools.ietf.org/html/rfc4627" target="_blank">RFC 4627</a> defines that an object property must be encloded in &#39;&#39;&#8230; nevertheless I also tried this without the key value apostrophe but it didn&#39;t work either.</p>
<p>The problem is, that without any limiting &#39;&#39;-elements it&#39;s very difficult to transform every not allowed element into another representation. For the JSON object variant one will have to transform all &#39;{&#39; or &#39;}&#39; elements, &#39;,&#39; and &#39;:&#39; elements and so on. I&#39;m not aware of a PHP transformation function that covers all these cases.</p>
<p>Greetings<br />- Marcel</p>
]]></description>
        	        	<pubDate>Thu, 02 Jul 2009 03:42:46 +0300</pubDate>
        </item>
        <item>
        	<title>tony on editoptions and special characters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7606</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7606</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The key value should not be enclosed in &#39;&#39;</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 02 Jul 2009 03:26:22 +0300</pubDate>
        </item>
        <item>
        	<title>Marcel Karras on editoptions and special characters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7573</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7573</guid>
        	        	<description><![CDATA[<p>A fresh code checkout didn&#39;t help for me either. :-/</p>
]]></description>
        	        	<pubDate>Wed, 01 Jul 2009 06:20:15 +0300</pubDate>
        </item>
        <item>
        	<title>Marcel Karras on editoptions and special characters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7413</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7413</guid>
        	        	<description><![CDATA[<p>Thank you for your hint. I changed my PHP code to generate a JSON object instead of an array... this is what a sample result could look like:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3045' value='Select Code' data-codeid='sfcode3045' /></p>
<div class='sfcode' id='sfcode3045'>editoptions example</p>
<pre id="line48">{ value:<br />    { &#39;Pkey. &#38;quot;&#167;$%&#38;amp;/()=&#38;gt;?`&#180;;.+*&#38;lt;^&#176;&#39; : <br />       &#39;Pvalue. &#38;quot;&#167;$%&#38;amp;/()=&#38;gt;?`&#180;;.+*&#38;lt;^&#176;&#39;<br />    }<br />}</pre>
</div>
<p>Unfortunately I get an error stating...</p>
<p><span class="sfcode">elem is undefined</span></p>
<p>... using the Firebug javascript console. Does jqgrid support full object member names of type string? (as defined in  <a class="external" title="http://tools.ietf.org/html/rfc4627" href="http://tools.ietf.org/html/rfc4627" target="_blank">RFC 4627</a>)</p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 03:26:23 +0300</pubDate>
        </item>
        <item>
        	<title>tony on editoptions and special characters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7408</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7408</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I sugest you in this case to use the another possibility - set this as object - i.e. we can have in editoptions this</p>
<p>editoptions:{value:{1:&#39;one&#39;,2:&#39;two&#39;...}}</p>
<p>to represent the selects</p>
<p>Hope this will help</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 02:59:46 +0300</pubDate>
        </item>
        <item>
        	<title>Marcel Karras on editoptions and special characters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7392</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editoptions-and-special-characters#p7392</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;ve got a problem with my generic filter form... everything works fine by defining the editoptions (for select) as JSON array with "normal" alphanumeric characters. But when I use a ";" in one of my key-value-option-pairs then all will break.</p>
<p>The editoptions array is generated server-side (using PHP) and pushed into the Javascript jqGrid editoptions property. No htmlspecialchars, addslashes oder json_encode helped for the following data string:</p>
<p><span class="sfcode">SName. "&#167;$%&#38;/()=&#62;?`&#180;;.+*&#60;^&#176;</span></p>
<p>So how should I encode this in order to make it working with editoptions?</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Mon, 22 Jun 2009 10:29:12 +0300</pubDate>
        </item>
</channel>
</rss>