<?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: Grouping is not grouping</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-is-not-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/help/grouping-is-not-grouping/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Grouping is not grouping</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-is-not-grouping#p28327</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grouping-is-not-grouping#p28327</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>As from the last version you will need to return the grouped data sorted in appropriate manner.</p>
<p>everthing on this is described in the docs - you will need <a href="/jqgridwiki/doku.php?id=wiki:grouping" target="_blank">just to read it</a>.</p>
</p>
<p>Kind Regards</p></p>
]]></description>
        	        	<pubDate>Mon, 25 Feb 2013 12:14:14 +0200</pubDate>
        </item>
        <item>
        	<title>davemh on Grouping is not grouping</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-is-not-grouping#p28322</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grouping-is-not-grouping#p28322</guid>
        	        	<description><![CDATA[<p>My jqGrid (version 4.4.4) is not grouping based on field I specify, but is instead repeating fields.</p>
<p>Here is my json data derived from a php-mysql page:</p>
<p>{"rows":[{"domain":"example.com","email":"admin@example.com"},{"domain":"example1.com","email":"dave@example1.com"},{"domain":"example.com","email":"dave@example.com"},{"domain":"example2.com","email":"admin@example2.com"},{"domain":"example2.com","email":"dave@example2.com"}]}&#160;</p>
<p>Here is my jqGrid code:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3086' value='Select Code' data-codeid='sfcode3086' /></p>
<div class='sfcode' id='sfcode3086'>
<p>&#60;script type=&#34;text/javascript&#34;&#62;</p>
<p><span style=&#34;white-space:pre&#34;> </span>jQuery(&#34;#domains&#34;).jqGrid({</p>
<p><span style=&#34;white-space: pre;&#34;> </span>url:&#39;getDomains.php&#39;,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>datatype: &#34;json&#34;,</p>
<p>&#160;<span style=&#34;white-space: pre;&#34;> </span>height: &#39;auto&#39;,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>rowNum: 10,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>rowList: [10,20,30],</p>
<p><span style=&#34;white-space: pre;&#34;> </span>colNames:[&#39;Virtual Domains&#39;, &#39;User&#39;],</p>
<p><span style=&#34;white-space: pre;&#34;> </span>colModel:[{name:&#39;domain&#39;, index:&#39;domain&#39;, width:200},{name:&#39;email&#39;, width:200}],</p>
<p><span style=&#34;white-space: pre;&#34;> </span>pager: &#39;#domains_div&#39;,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>sortname: &#39;domain&#39;,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>viewrecords: true,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>grouping:true,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>groupingView : {groupField : [&#39;domain&#39;],groupOrder: [&#39;asc&#39;]},</p>
<p><span style=&#34;white-space: pre;&#34;> </span>jsonReader : {repeatitems: false },</p>
<p><span style=&#34;white-space: pre;&#34;> </span>});</p>
<p>jQuery(&#34;#domains&#34;).jqGrid(&#39;navGrid&#39;,&#39;#domains_div&#39;,{add:false,edit:false,del:false});</p>
<p>&#160;&#60;/script&#62;</p>
</div>
<p>So I would expect the grouping to be:</p>
<ul>
<li>example.com
<ul>
<li><a href="mailto:admin@example.com" target="_blank">admin@example.com</a></li>
<li><a href="mailto:dave@example.com" target="_blank">dave@example.com</a></li>
</ul>
</li>
<li>example1.com
<ul>
<li><a href="mailto:dave@example1.com" target="_blank">dave@example1.com</a></li>
</ul>
</li>
<li>example2.com
<ul>
<li><a href="mailto:admin@example2.com" target="_blank">admin@example2.com</a></li>
<li><a href="mailto:dave@example2.com" target="_blank">dave@example2.com</a></li>
</ul>
</li>
</ul>
<p>Instead, I get 5 entries into the grid:</p>
<ul>
<li>example.com
<ul>
<li><a href="mailto:admin@example.com" target="_blank">admin@example.com</a></li>
</ul>
</li>
<li>example1.com
<ul>
<li><a href="mailto:dave@example.com" target="_blank">dave@example.com</a></li>
</ul>
</li>
<li>example.com
<ul>
<li><a href="mailto:dave@example.com" target="_blank">dave@example.com</a></li>
</ul>
</li>
<li>example2.com
<ul>
<li><a href="mailto:admin@example2.com" target="_blank">admin@example2.com</a></li>
</ul>
</li>
<li>example2.com
<ul>
<li><a href="mailto:dave@example2.com" target="_blank">dave@example2.com</a></li>
</ul>
</li>
</ul>
<p>Any suggestions? One other note, if I take out the</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7348' value='Select Code' data-codeid='sfcode7348' /></p>
<div class='sfcode' id='sfcode7348'>jsonReader : {repeatitems: false },</div>
<p>The grid never loads completely, but sits at "Loading".</p>
</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Sat, 23 Feb 2013 19:40:37 +0200</pubDate>
        </item>
</channel>
</rss>