<?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: subgrids not working when parent row_id contains period</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period</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/subgrids-not-working-when-parent-row_id-contains-period/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>rodk on subgrids not working when parent row_id contains period</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15887</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15887</guid>
        	        	<description><![CDATA[<p>When using a grid as subgrid it is true that the developer must handle this.&#160; When using a traditional subgrid however, the devleoper does not have the opportunity to modify the ID of the subgrid.&#160; I suppose the ID could be modified server side, but that seems a bit kludgy.&#160;</p>
<p>At any rate, the documentation might make note of these facts.</p>
]]></description>
        	        	<pubDate>Mon, 22 Mar 2010 15:37:41 +0200</pubDate>
        </item>
        <item>
        	<title>tony on subgrids not working when parent row_id contains period</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15874</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15874</guid>
        	        	<description><![CDATA[<p>HEllo again.</p>
<p>To quick I responded for this.</p>
<p>Looking into the code I think that it is better to leave the things as they are.</p>
<p>It is up to developer to check these cases.</p>
<p>When we convert the id according to the link provided from you we can go in other issues.</p>
<p>Sorry, will not change it.</p>
<p>Best Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Mon, 22 Mar 2010 12:06:40 +0200</pubDate>
        </item>
        <item>
        	<title>tony on subgrids not working when parent row_id contains period</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15870</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15870</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. This is true.</p>
<p>We already have such function,</p>
<p>&#160;&#160;&#160; jqID : function(sid){<br />&#160;&#160; &#160;&#160;&#160; &#160;sid = sid + "";<br />&#160;&#160; &#160;&#160;&#160; &#160;return sid.replace(/([\.\:\[\]])/g,"\\$1");<br />&#160;&#160; &#160;},</p>
<p>but we forgot to set it into the subgrid.</p>
<p>Fixed</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 22 Mar 2010 11:25:57 +0200</pubDate>
        </item>
        <item>
        	<title>rodk on subgrids not working when parent row_id contains period</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15846</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/subgrids-not-working-when-parent-row_id-contains-period#p15846</guid>
        	        	<description><![CDATA[<p>First just want to say jqGrid is awesome!&#160; Just started using it two days ago and it is saving me a lot of work and producing a nicer UI than my left dominated brain could ever produce.</p>
</p>
<p>I have run into one problem with subgrids.&#160; I&#39;m creating a grid to manage DNS zones and the row ID of the parent grid is the domain name.&#160; Since domain names contain dots and jQuery cannot handle unescaped dots (or colons for that matter) in selectors, this caused the subgrid not to be added to the DOM because jQuery couldn&#39;t parse the selector.</p>
</p>
<p>When using a regular subgrid I couldn&#39;t figure out what was happening so I changed to a subgrid as grid and got the same results but was able to track down the problem.&#160; I fixed the problem by escaping the selector as described here: <a href="http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_by_an_ID_that_has_characters_used_in_CSS_notation.3F" rel="nofollow" target="_blank"><a href="http://docs.jquery.com/Frequen" rel="nofollow">http://docs.jquery.com/Frequen</a>.....otation.3F</a></p>
</p>
<p>This might be worth mentioning in the wiki when describing subgrid as grid, but the source for regular subgrids should probably be updated to take into account the possibility of dots and colons in the row ID when using that row ID to generate the element ID for the grid elements.</p>
]]></description>
        	        	<pubDate>Fri, 19 Mar 2010 18:09:55 +0200</pubDate>
        </item>
</channel>
</rss>