<?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 header, change the title?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title</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-header-change-the-title/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Grouping header, change the title?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29719</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29719</guid>
        	        	<description><![CDATA[<p>You post small code fragments only, so it&#39;s difficul to understand what you do. I don&#39;t understand which relation has your last post to your original question (custom grouping header). The option <strong>data</strong> (returned by $(this).jqGrid("getGridParam", "data");) are defined only if you use <strong>datatype: "local"</strong>. I don&#39;t see any sense to use $(this).jqGrid("getGridParam", "data"); inside of formatter. Formatter callback has <strong>rowObject</strong> parameter, which contain<span style="font-size: 14px;">s the data of <em>the currect row</em>. The exact value can depend on other jqGrid parameters (datatype, loadonce) which you use. In general <strong>rowObject.NameListe</strong> provides probably the value which you need.</span></p>
<p><span style="font-size: 14px;">Reagrds<br />Oleg&#160;</span></p>
]]></description>
        	        	<pubDate>Sat, 19 Oct 2013 13:35:26 +0300</pubDate>
        </item>
        <item>
        	<title>cvneo on Grouping header, change the title?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29718</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29718</guid>
        	        	<description><![CDATA[<p>data = $ (this) jqGrid ("getGridParam", "data");</p>
<p>returns nothing so how &#8230;. ?</p>
]]></description>
        	        	<pubDate>Sat, 19 Oct 2013 11:50:34 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Grouping header, change the title?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29717</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29717</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>try <a href="http://www.ok-soft-gmbh.com/jqGrid/CustomGroupingFormatter1.htm" target="_blank">the demo</a> (see <a href="http://stackoverflow.com/a/10805487/315935" target="_blank">the answer</a>). Is it what you try to implement?</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Sat, 19 Oct 2013 11:41:06 +0300</pubDate>
        </item>
        <item>
        	<title>cvneo on Grouping header, change the title?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29716</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29716</guid>
        	        	<description><![CDATA[<p>I tried that, but nothing in the console.log (data);<br />I do not see how to get there 🙁</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; {name:&#39;IDListe&#39;,index:&#39;IDListe&#39;, width:20,align:"center",hidden:true, formatter: function (cellval, opts, rowObject, action) {<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; var &#160;&#160;&#160; &#160;fullOpts = $.extend({}, $.jgrid.formatter.IDListe, opts),<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;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;formatted, <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;&#160;&#160; &#160;&#160;&#160; &#160;groupIdPrefix = opts.gid + "ghead_",<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; &#160;&#160;&#160; &#160;&#160;&#160; &#160;groupIdPrefixLength = groupIdPrefix.length,<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; &#160;&#160;&#160; &#160;&#160;&#160; &#160;names = [], data, i, l, item;<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;&#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;&#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;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; if (opts.rowId.substr(0, groupIdPrefixLength) === groupIdPrefix &#38;&#38; typeof action === "undefined") {<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;&#160;&#160; &#160;<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;&#160;&#160; data = $(this).jqGrid("getGridParam", "data");<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;<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;&#160;&#160; &#160;console.log(data);<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;<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;&#160;&#160; return data[&#39;Descriptif&#39;];<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; }<br />&#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;&#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;&#160; &#160;},</p>
<p>Via this example : <a href="http://stackoverflow.com/questions/10803081/jqgrid-grouping-grouptext-formatting-and-modification" rel="nofollow" target="_blank">http://stackoverflow.com/questions/10803081/jqgrid-grouping-grouptext-formatting-and-modification</a></p>
<p>Des id&#233;es ?</p>
]]></description>
        	        	<pubDate>Sat, 19 Oct 2013 11:14:16 +0300</pubDate>
        </item>
        <item>
        	<title>cvneo on Grouping header, change the title?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29677</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grouping-header-change-the-title#p29677</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I try to change the title displayed when grouping on your example I have:</p>
<p>GroupText [&#60;span style="float:right; margin-right:25px;"&#62; {1} Message (s) &#60;/ span&#62; &#60;b&#62; {0} &#60;/ b&#62; &#39;]</p>
<p>but I would add the contents of another column, how?</p>
<p>I for example:</p>
<p>colModel [<br />{name: &#39;ID&#39;, index: &#39;ID&#39;, width: 20, align: "center", "key": true, align: "center"},<br />{name: &#39;IDListe&#39; index &#39;IDListe&#39;, width: 20, align: "center", hidden: true},<br />{name: &#39;<strong>NameListe</strong>&#39; index &#39;NameListe&#39;, width: 20, align: "center", hidden: true},</p>
<p>so I would:<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; grouping:true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;groupingView : { <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;groupField : [&#39;<strong>IDListe</strong>&#39;], <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;groupColumnShow : [false], <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; GroupText [&#60;span style="float:right; margin-right:25px;"&#62; <strong>{here NameListe}</strong> &#60;/ span&#62; &#60;b&#62; {0} &#60;/ b&#62; &#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;groupCollapse : true, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;groupOrder: [&#39;asc&#39;]</p>
<p>How to replace {NameListe} the content colone NameListe?</p>
<p>Thank you for your help.</p>
]]></description>
        	        	<pubDate>Tue, 15 Oct 2013 16:16:06 +0300</pubDate>
        </item>
</channel>
</rss>