<?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: jqGrid Grouping</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/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/discussion/jqgrid-grouping/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mikeerickson on jqGrid Grouping</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-grouping#p19634</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-grouping#p19634</guid>
        	        	<description><![CDATA[<p>I am trying to figure out how to make grouping work, but am not having much success. I have followed all the tutorials etc. but my grids are never grouped - I am sure I am missing something simple. &#160; What are the "requirements" to make it happen? &#160; I have pulled code exactly from the 3.8 remote demo, but it wont work..</p>
<p>In ALL cases data is displayed in a standard flat table listing...</p>
</p>
<p>$("#masterList").jqGrid({</p>
<p>url: "sample.json",</p>
<p>datatype: "json",</p>
<p>colNames: [&#39;Inv&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],</p>
<p>colModel:[</p>
<p>{name:&#39;id&#39;,index:&#39;id&#39;, width:60, editable:true, sorttype:&#39;int&#39;,align:"center"},</p>
<p>{name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, sorttype:&#39;date&#39;, formatter:&#39;date&#39;, datefmt:&#39;d/m/Y&#39;,align:"center"},</p>
<p>{name:&#39;name&#39;,index:&#39;name&#39;, width:100,summary:&#39;count&#39;,summaryTpl:&#39;({0}) total&#39;},</p>
<p>{name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right", sorttype:&#39;number&#39;,formatter:&#39;currency&#39;,summaryType:&#39;sum&#39;},</p>
<p>{name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right",sorttype:&#39;number&#39;,formatter:&#39;currency&#39;,summaryType:&#39;sum&#39;},</p>
<p>{name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right",sorttype:&#39;number&#39;,formatter:&#39;currency&#39;,summaryType:&#39;sum&#39;},</p>
<p>{name:&#39;note&#39;,index:&#39;note&#39;, width:120, sortable:false,editable:true}</p>
<p>],</p>
<p>rowNum: 10,</p>
<p>forceFit: true,</p>
<p>rowList: [5,10,20,30],</p>
<p>loadonce: true,</p>
<p>height: &#39;auto&#39;,</p>
<p>width: 640,</p>
<p>pager: &#39;#masterPager&#39;,</p>
<p>sortname: &#39;name&#39;,</p>
<p>viewrecords: true,</p>
<p>sortorder: "asc",</p>
<p>altRows:	true,</p>
<p>altclass: "ui-table-altrow",</p>
<p>grouping: true,</p>
<p>groupingView: {</p>
<p>groupField:	[&#39;name&#39;],</p>
<p>groupColumnShow: [true],</p>
<p>groupText: [&#39;&#60;b&#62;{0}&#60;/b&#62;&#39;],</p>
<p>groupCollapse: true,</p>
<p>groupOrder: [&#39;asc&#39;],</p>
<p>groupSummary: [true],</p>
<p>showSummaryOnHide: true,</p>
<p>groupDataSorted: true</p>
<p>},</p>
<p>footerrow: true,</p>
<p>userDataOnFooter: true</p>
<p>});</p></p>
]]></description>
        	        	<pubDate>Thu, 09 Sep 2010 18:46:53 +0300</pubDate>
        </item>
</channel>
</rss>