<?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: array.prototype.junk breaks jqgrid grouping?</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/array-prototype-junk-breaks-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/bugs/array-prototype-junk-breaks-jqgrid-grouping/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>benzocab on array.prototype.junk breaks jqgrid grouping?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/array-prototype-junk-breaks-jqgrid-grouping#p20550</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/array-prototype-junk-breaks-jqgrid-grouping#p20550</guid>
        	        	<description><![CDATA[<p>Hi Tony. This does work now. I haven&#39;t fully reimplemented into our app with tons of prototypes, but it works on my simple app with two prototypes defined, which used to break with the previous version.</p>
<p>Thanks!</p>
<p>Ben</p>
]]></description>
        	        	<pubDate>Thu, 28 Oct 2010 22:33:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on array.prototype.junk breaks jqgrid grouping?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/array-prototype-junk-breaks-jqgrid-grouping#p20524</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/array-prototype-junk-breaks-jqgrid-grouping#p20524</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Yes this is a bug. The fix is in GitHub.</p>
<p>Please let me know if the fix work for you</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 27 Oct 2010 18:26:12 +0300</pubDate>
        </item>
        <item>
        	<title>benzocab on array.prototype.junk breaks jqgrid grouping?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/array-prototype-junk-breaks-jqgrid-grouping#p20414</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/array-prototype-junk-breaks-jqgrid-grouping#p20414</guid>
        	        	<description><![CDATA[<p>I recently started using jqgrid, adding it to one of our projects. In our project we have several prototypes defined for the Array object ( obj.contains(x), etc ). I added the grid control and it works fine, but when I added the grouping module with summary footers it returns an error "jqGrid - No such method: groupingCalculations.undefined". I basically have a few records with the Summary Footers, since we need aggregates for several fields:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var mydatax = [<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ &#39;Eureka ID&#39;: &#39;154896&#39;, &#39;Agent&#39;: &#39;Felix Z&#39; }<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;];</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#list47").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; data: mydatax,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "local",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: &#39;auto&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 50,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //rowList: [10, 20, 27],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Eureka ID&#39;, &#39;Agent&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Eureka ID&#39;, index: &#39;Eureka ID&#39;, width: 80, summaryType: &#39;avg&#39;, summaryTpl: &#39;&#60;b&#62;AVG: {0}&#60;/b&#62;&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Agent&#39;, index: &#39;Agent&#39;, width: 80 }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: "#plist47",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;Agent&#39;,<br />&#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; groupingView: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; groupField: [&#39;Agent&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; groupSummary: [true],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; groupColumnShow: [true],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; groupText: [&#39;&#60;b&#62;{0}&#60;/b&#62;&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; groupCollapse: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; groupOrder: [&#39;asc&#39;]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "Grouping Array Data"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>And, a simple prototype will do the trick:</p>
<p>Array.prototype.junk = function(v) {<br />&#160; return this.length;<br />}</p>
<p>You must also have "groupSummary: [true]". I&#39;m using the latest jquery.jqGrid-3.8. Anybody have any idea how to get around this, other than "don&#39;t use the prototypes!"?</p>
</p>
<p>Thanks,</p>
<p>Ben</p></p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 21:29:59 +0300</pubDate>
        </item>
</channel>
</rss>