<?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: bug in jqgrid grouping </title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-jqgrid-grouping</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/bug-in-jqgrid-grouping/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on bug in jqgrid grouping </title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-jqgrid-grouping#p26715</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-jqgrid-grouping#p26715</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks.</p>
<p>The upcomming releaze will eleminate this - also we have changed the concept - The new grouping&#160; will be available next week.</p>
</p>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Fri, 01 Jun 2012 22:29:42 +0300</pubDate>
        </item>
        <item>
        	<title>tccyp on bug in jqgrid grouping </title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-jqgrid-grouping#p26664</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-jqgrid-grouping#p26664</guid>
        	        	<description><![CDATA[<p>in groupingRender function&#160;</p>
<p>we have&#160;</p>
<p>grp.sortitems[0].sort();</p>
<p>grp.sortnames[0].sort();</p>
</p>
<p>however sortitems don&#39;t contain any space, which sortnames do.</p>
<p>then the result will be weird, on the ui the row will be in the wrong group.</p>
</p>
<p>I the code in my project to&#160;</p>
<p>grp.sortitems[0].sort();</p>
<p>grp.sortnames[0].sort(</p>
<p>function compare(a,b)&#160;</p>
<p>&#160; {&#160; &#160;</p>
<p>var str1 = a.toString().replace(/\s/g, "");</p>
<p>var str2 = b.toString().replace(/\s/g, "");</p>
<p>if (str1 &#60; str2)&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160; return -1;&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160;if (str1 &#62; str2)&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160; &#160; return 1;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160;return 0; &#160;});</p>
<p>and works fine.</p>
]]></description>
        	        	<pubDate>Thu, 24 May 2012 20:01:45 +0300</pubDate>
        </item>
</channel>
</rss>