<?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: row id which begins with asterix, question marks, spaces VS row select</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select</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/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on row id which begins with asterix, question marks, spaces VS row select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p23567</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p23567</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>In jqGrid the rowid is the id of the &#60;tr&#62; element (row of &#60;table&#62;). So the ids must sutisty the rules existing for ids see <a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier" target="_blank">here</a> and <a href="http://api.jquery.com/category/selectors/" target="_blank">here</a>. Some characters like spaces are not permitted in the id. Another charackters can be used after the small fix which I suggested <a href="/blog/?page_id=393/bugs/more-meta-characters-supported-by-jqid/#p23489" target="_blank">here</a>.</p>
<p>Best regards<br />Oleg</p>
<p>P.S. I thought a little more about the spaces in the ids and have a suggestion. One can here read the following: "<strong>Any character (except a hexadecimal digit, linefeed, carriage return, or form feed) can be escaped with a backslash to remove its special meaning.</strong>". So I tried to escape the space (U+0020) charackter and it seems gives very good results. Look at <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithComplexRowid1.htm" target="_blank">the demo</a>. It seems if one modify the code of jqID function of jqGrid to</p>
<p><input type='button' class='sfcodeselect' name='sfselectit698' value='Select Code' data-codeid='sfcode698' /></p>
<div class='sfcode' id='sfcode698'>jqID : function(sid){<br />&#160; &#160; return String(sid).replace(/[! &#34;#$%&#38;&#39;()*+,.\\/:;&#60;=&#62;?@\\[\\\\\\]\\^`{&#124;}~]/g,&#34;\\\\$&#38;&#34;);<br />}&#160;</div>
<p>all seems to work very good. I&#39;ll modify <a href="/blog/?page_id=393/bugs/more-meta-characters-supported-by-jqid/#p23489" target="_blank">the bug fix</a> so that space character will be also excaped.</p>
]]></description>
        	        	<pubDate>Sat, 11 Jun 2011 00:21:37 +0300</pubDate>
        </item>
        <item>
        	<title>blicket on row id which begins with asterix, question marks, spaces VS row select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p23565</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p23565</guid>
        	        	<description><![CDATA[<blockquote>
<p>szhbug said:</p>
<blockquote>
<p>szhbug said:</p>
</blockquote>
<blockquote>
<p>row id which:</p>
</blockquote>
<blockquote>
<p>1) begin with two question marks:&#160; "??"</p>
</blockquote>
<blockquote>
<p>2) begin with asterix: "*"</p>
</blockquote>
<blockquote>
<p>3) begin with two spaces "&#160; "</p>
<p>jquery-1.3.2.min.js<br />jquery-ui-1.7.2.custom.min.js<br />jqGrid&#160; 3.6.4</p>
</blockquote>
<hr />
<p>with jqGrid 3.6.5 and jquery 1.4.2&#160; this bug&#160; disappeared.</p>
</p>
</blockquote>
<hr />
<p>Nah, it&#39;s still problem.&#160; I can confirm that when using a column with space and / as row id.&#160;</p>
<p>jquery 1.4.4</p>
<p>jquery-ui 1.8.12</p>
<p>jqgrid 4.0</p>
]]></description>
        	        	<pubDate>Fri, 10 Jun 2011 21:03:41 +0300</pubDate>
        </item>
        <item>
        	<title>szhbug on row id which begins with asterix, question marks, spaces VS row select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p17201</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p17201</guid>
        	        	<description><![CDATA[<blockquote>
<p>szhbug said:</p>
</blockquote>
<blockquote>
<p>row id which:</p>
</blockquote>
<blockquote>
<p>1) begin with two question marks:&#160; "??"</p>
</blockquote>
<blockquote>
<p>2) begin with asterix: "*"</p>
</blockquote>
<blockquote>
<p>3) begin with two spaces "&#160; "</p>
<p>jquery-1.3.2.min.js<br />jquery-ui-1.7.2.custom.min.js<br />jqGrid&#160; 3.6.4</p>
</blockquote>
<hr />
<p>with jqGrid 3.6.5 and jquery 1.4.2&#160; this bug&#160; disappeared.</p></p>
]]></description>
        	        	<pubDate>Mon, 17 May 2010 05:14:10 +0300</pubDate>
        </item>
        <item>
        	<title>IMBigWillie on row id which begins with asterix, question marks, spaces VS row select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p16783</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p16783</guid>
        	        	<description><![CDATA[<p>Jusat saw your post after posting mine.&#160; Another value that is not valid is "/".</p>
]]></description>
        	        	<pubDate>Thu, 29 Apr 2010 06:55:33 +0300</pubDate>
        </item>
        <item>
        	<title>szhbug on row id which begins with asterix, question marks, spaces VS row select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p16644</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-id-which-begins-with-asterix-question-marks-spaces-vs-row-select#p16644</guid>
        	        	<description><![CDATA[<p>When I loaded data into basic jqgrid table (multiselect: false), (loaded via url property, datatype=json)</p>
<p>and my data has rows with row id which:</p>
<p>1) begin with two question marks:&#160; "??"</p>
<p>2) begin with asterix: "*"</p>
<p>3) begin with two spaces "&#160; "</p>
</p>
<p>After selecting any such row, and then selecting anything else , the selection of such a row can not be deselected.</p>
</p>
<p>multiselect: false</p>
<p>column with&#160; id is hidden.</p>
</p>
<p>versions:<br />jquery-1.3.2.min.js<br />jquery-ui-1.7.2.custom.min.js<br />jqGrid&#160; 3.6.4<br />Firefox 3.5.9</p>
]]></description>
        	        	<pubDate>Sat, 24 Apr 2010 11:50:36 +0300</pubDate>
        </item>
</channel>
</rss>