<?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: Line Selection + ID with "." bug</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/line-selection-id-with-bug</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/line-selection-id-with-bug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Line Selection + ID with "." bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/line-selection-id-with-bug#p4439</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/line-selection-id-with-bug#p4439</guid>
        	        	<description><![CDATA[<p>Hello LineOut,</p>
<p>Thank you. Fixed.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 06 Feb 2009 02:28:54 +0200</pubDate>
        </item>
        <item>
        	<title>Line0ut on Line Selection + ID with "." bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/line-selection-id-with-bug#p4428</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/line-selection-id-with-bug#p4428</guid>
        	        	<description><![CDATA[<p>I found a bug with the selection of the line. <br />This bug occurs when using data containing the <br />character "." as the key. <br />&#160;<br />This example shows the problem:</p>
<p>My ID column contains the value "myfile.xml"<br />When I click on the line in the grid, the system call<br /><span style="color: #000080;">$("#jqg_"+$t.p.selrow,$t.rows).attr("checked",stat);<br /></span>to check the checkbox.</p>
<p>jQuery try to call the wrong id.</p>
<p><span style="color: #000080;">#jqg_myfile.xml { selects id="jqg_myfile" class="xml" } </span></p>
<p>To correct the problem, you need to escape the "."</p>
<p><span style="color: #000080;">#jqg_myfile\\.xml { selects id="jqg_myfile.xml" }</span></p>
<p>I do a quick fix to solve it:</p>
<p>in grid.base.js line 196, 207 and 213</p>
<p><span style="color: #000080;">$("#jqg_"+$t.p.selrow.replace(".", "</span><span style="color: #000080;">\\\\."),$t.rows).attr("checked",stat</span><span style="color: #000080;">);</span></p>
<p>Line0ut,</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 14:54:03 +0200</pubDate>
        </item>
</channel>
</rss>