<?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 set grouped values into sumary row</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-set-grouped-values-into-sumary-row</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/jqgrid-set-grouped-values-into-sumary-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>renata on jqgrid set grouped values into sumary row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-set-grouped-values-into-sumary-row#p29306</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-set-grouped-values-into-sumary-row#p29306</guid>
        	        	<description><![CDATA[<p>In my grid below i have 2 levels of grouping</p>
</p>
<p>[Image Can Not Be Found]</p>
</p>
<p>and my grid is</p>
</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit9617' value='Select Code' data-codeid='sfcode9617' /></p><div class='sfcode' id='sfcode9617'>colModel:[
                {name:&#39;szGroupAccType&#39;,index:&#39;szGroupAccType&#39;},
                {name:&#39;szAccTypeId&#39;,index:&#39;szAccTypeId&#39;},
                {name:&#39;szAccNm&#39;,index:&#39;szAccNm&#39;, width:500,
                    formatter: function (cellValue, options, rowObject, actions) {
                        if (options.rowId === &#34;&#34;) {
                            var names = [], data, i, l, item;
                            if (options.rowId === &#34;&#34; &#38;&#38; typeof actions === &#34;undefined&#34;) {

                                data = $(this).jqGrid(&#34;getGridParam&#34;, &#34;data&#34;);
                                //here to set accounts on total
                            }
                            return cellValue;
                        } else {
                            return &#39;&#60;span style=&#34;display:inline-block;left:25px;position:relative;&#34;&#62;&#39; +
                                cellValue;
                        }
                    },
                    summaryType:&#39;count&#39;, summaryTpl : &#39;Total ({0}) &#39;},
                {name:&#39;Balance&#39;,index:&#39;Balance&#39;,align:&#39;right&#39;,formatter: numberFormatter, sorttype:&#34;float&#34;, summaryType:&#39;sum&#39;, formatoptions:{thousandsSeparator:&#34;,&#34;}},
                {name:&#39;szAccCode&#39;,index:&#39;szAccCode&#39;, hidden:true}
            ],
            grouping:true, 
            groupingView : { 
                groupField : [&#39;szGroupAccType&#39;, &#39;szAccTypeId&#39;], 
                groupSummary : [true, true], 
                groupColumnShow : [false, false], 
                groupText : [&#39;&#60;b&#62;{0}&#60;/b&#62;&#39;, &#39;{0}&#39;], 
                groupCollapse : false, 
                groupOrder: [&#39;asc&#39;, &#39;asc&#39;],
                showSummaryOnHide: true
            },</div></pre>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit3396' value='Select Code' data-codeid='sfcode3396' /></p><div class='sfcode' id='sfcode3396'><p>i hv problem with this line</p>
<pre><div class=&#34;sfcode&#34;>data = $(this).jqGrid(&#34;getGridParam&#34;, &#34;data&#34;);
</div></pre>
<p>i&#39;ve checked with firebug and var data is empty. Could you tell me where i did wrong? I&#39;m trying to change total (in yellow) to Aktiva Tetap (110-...Bank dollar, 120- ... Bank rupiah) and total in grey with Asset (Aktiva Tetap (110-...Bank dollar, 120- ... Bank rupiah)) and so on.</p>
<p>Thanks in advance</p>
</div>
]]></description>
        	        	<pubDate>Fri, 09 Aug 2013 18:23:43 +0300</pubDate>
        </item>
</channel>
</rss>