<?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: multiple select problem when row id has whitespace</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/multiple-select-problem-when-row-id-has-whitespace</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/multiple-select-problem-when-row-id-has-whitespace/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on multiple select problem when row id has whitespace</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/multiple-select-problem-when-row-id-has-whitespace#p9858</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/multiple-select-problem-when-row-id-has-whitespace#p9858</guid>
        	        	<description><![CDATA[<p>Thanks adige,</p>
<p>Thanks Mark, as usuall good catch, but I think that we should follow some standarts about what are&#160; allowed characters for the id</p>
<p><a href="http://www.w3.org/TR/REC-xml/#NT-Name" rel="nofollow" target="_blank">http://www.w3.org/TR/REC-xml/#NT-Name</a></p>
</p>
<p>It seems that XHTL is a subset of HTML specs,</p>
<p>So I think we should apply this for the following chars (finally): [,],-,_,:,.</p>
<p>I will apply your fix where is no need to make a series of replace calls.</p>
<p>This should remember me that I must correct the id&#39;s in the grid where we should not have duplicate id.</p>
</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 18 Sep 2009 10:48:40 +0300</pubDate>
        </item>
        <item>
        	<title>markw65 on multiple select problem when row id has whitespace</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/multiple-select-problem-when-row-id-has-whitespace#p9851</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/multiple-select-problem-when-row-id-has-whitespace#p9851</guid>
        	        	<description><![CDATA[<p>According to the jquery page, here is the complete list of chars that need quoting:<code> #;&#38;,.+*~&#39;:"!^$[]()=&#62;&#124;/</code></p>
</p>
<p>So clearly there&#39;s a few more that need adding 🙂</p>
</p>
<p>Also, rather than adding a series of replace calls, it could be written: sid.replace(/([\\<code>#\\;\\&#38;\\,\\.\\+\\*\\~\\&#39;\\:\\"\\!\\^\\$\\[\\]\\(\\)\\=\\&#62;\\&#124;\\/])/g,"\\\\$1");</code></p>
<p>Or maybe just quote everything but the "usual selector chars": sid.replace(/([^-a-zA-Z_0-9])/g, "\\\\$1");</p>
]]></description>
        	        	<pubDate>Fri, 18 Sep 2009 08:57:54 +0300</pubDate>
        </item>
        <item>
        	<title>adige on multiple select problem when row id has whitespace</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/multiple-select-problem-when-row-id-has-whitespace#p9845</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/multiple-select-problem-when-row-id-has-whitespace#p9845</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>If row id has whitespace than grid select doesn&#39;t work properly. When select changes the old selected row still looks selected (multiple select).</p>
<p>in grid.base.js (jqGrid 5.3.3) line 64 i added bold part, now it works fine even if id has whitespace:</p>
</p>
<p>return sid.replace(/:/g,"\\\\:").replace(/\\./g,"\\\\.").replace(/\\[/g,"\\\\[").replace(/\\]/g,"\\\\]")<strong>.replace(/ /g,"\\\\ ");</strong></p>
]]></description>
        	        	<pubDate>Fri, 18 Sep 2009 07:06:47 +0300</pubDate>
        </item>
</channel>
</rss>