<?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: Information about grouping items will be deleted</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/information-about-grouping-items-will-be-deleted</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/information-about-grouping-items-will-be-deleted/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>lotjuh on Information about grouping items will be deleted</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/information-about-grouping-items-will-be-deleted#p27319</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/information-about-grouping-items-will-be-deleted#p27319</guid>
        	        	<description><![CDATA[<p>Is it me or has this bug been intruduced again in the latest versions of the grid? (4.4.x)</p>
<p>I use the following code to expand the row I want:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2260' value='Select Code' data-codeid='sfcode2260' /></p>
<div class='sfcode' id='sfcode2260'>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.each($(this).jqGrid(&#39;getGridParam&#39;, &#39;groupingView&#39;).sortitems[0], function(index, value) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(value == currentUser) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(element).jqGrid(&#39;groupingToggle&#39;, $(element).attr(&#39;id&#39;)+&#39;ghead_&#39;+index);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</div>
<p>This used to work for me, but as of jqgrid 4.4.0 the sortitems is an empty array</p>
]]></description>
        	        	<pubDate>Thu, 13 Sep 2012 15:08:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Information about grouping items will be deleted</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/information-about-grouping-items-will-be-deleted#p19751</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/information-about-grouping-items-will-be-deleted#p19751</guid>
        	        	<description><![CDATA[<p>Thanks Oleg. Fixed.</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 13 Sep 2010 10:30:50 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Information about grouping items will be deleted</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/information-about-grouping-items-will-be-deleted#p19743</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/information-about-grouping-items-will-be-deleted#p19743</guid>
        	        	<description><![CDATA[<p>Hello Tony!</p>
<p>After the rows of the grid will be grouping the information about the grouping item will be deleted (see lines 169-171 of grid.grouping.js):</p>
<p>grp.sortitems[0] = [];<br /><span style="font-size: 13.8889px;">grp.sortnames[0] = [];<br /><span style="font-size: 13.8889px;">grp.summaryval[0] = [];</span></span></p>
<p><span style="font-size: 13.8889px;"><span style="font-size: 13.8889px;">I wanted to collapse not all rows in the jqGrid but a selected one. For example I would like on the example <a href="http://www.ok-soft-gmbh.com/jqGrid/DisplayLog.htm&#160;collapse" rel="nofollow" target="_blank">http://www.ok-soft-gmbh.com/jqGrid/DisplayLog.htm&#160;collapse</a> information about &#39;Vars&#39;. Th row (&#60;tr&#62;) has id="gridghead_3"&#160;which combined from the gridId ("grid") the text "ghead_" and the number of &#39;Vars&#39; inside of sortitems. So I&#160;need to have <strong>grid.jqGrid (&#39;getGridParam&#39;, &#39;groupingView&#39;).sortitems[0]</strong>&#160;array and find the index of &#39;Vars&#39; inside.</span></span></p>
<p><span style="font-size: 13.8889px;"><span style="font-size: 13.8889px;">After commenting of the lines 169-171 of grid.grouping.js I could successfully use construct row id ("gridghead_3") and use <strong>grid.jqGrid (&#39;groupingToggle&#39;, rowId)</strong>; to collapse the group inside loadComplete function (currently because of the problem described in /blog/?page_id=393/bugs/loadcomplete-not-work-with-datatype-xmlstring-or-jsonstring/&#160;it works only inside of gridComplete).</span></span></p>
<p><span style="font-size: 13.8889px;"><span style="font-size: 13.8889px;">By the way it seems to me that the function which collapse some group will be useful for other users.</span></span></p>
<p><span style="font-size: 13.8889px;"><span style="font-size: 13.8889px;">Best regards<br />Oleg</span></span></p>
]]></description>
        	        	<pubDate>Mon, 13 Sep 2010 01:07:09 +0300</pubDate>
        </item>
</channel>
</rss>