<?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: showHideCol: cells&#091;i&#093; with large index can produce exception in IE</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/showhidecol-cellsi-with-large-index-can-produce-exception-in-ie</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/showhidecol-cellsi-with-large-index-can-produce-exception-in-ie/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on showHideCol: cells&#091;i&#093; with large index can produce exception in IE</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/showhidecol-cellsi-with-large-index-can-produce-exception-in-ie#p25635</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/showhidecol-cellsi-with-large-index-can-produce-exception-in-ie#p25635</guid>
        	        	<description><![CDATA[<p>Thanks Oleg,</p>
<p>Fixed in GitHub</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 11 Jan 2012 10:27:14 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on showHideCol: cells&#091;i&#093; with large index can produce exception in IE</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/showhidecol-cellsi-with-large-index-can-produce-exception-in-ie#p25631</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/showhidecol-cellsi-with-large-index-can-produce-exception-in-ie#p25631</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>I tested some code used groupping with <strong>groupColumnShow: [false]</strong> setting. If one removes the groupping dynamically the method showHideCol will be called internally. In the <a href="https://github.com/tonytomov/jqGrid/blob/v4.3.1/js/grid.base.js#L2970-2972" target="_blank">lines 2970-2972</a> of grid.base.js will be enumerated <em>all rows</em> of grid:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6290' value='Select Code' data-codeid='sfcode6290' /></p>
<div class='sfcode' id='sfcode6290'>$($t.rows).each(function(j){<br />&#160; &#160; $(this.cells[i]).css(&#34;display&#34;, show);<br />});&#160;</div>
<p>The rows having grouping information have not so many columns and the native implementation of the <strong>this.cells[i]</strong> produce exception in IE9. One can fix the problem by skipping of rows having "jqgroup"&#160;class:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4130' value='Select Code' data-codeid='sfcode4130' /></p>
<div class='sfcode' id='sfcode4130'>$($t.rows).each(function () {<br />&#160; &#160; <strong>if (!$(this).hasClass(&#34;jqgroup&#34;)) {</strong><br />&#160; &#160; &#160; &#160; $(this.cells[i]).css(&#34;display&#34;, show);<br />&#160; &#160; <strong>}</strong><br />});&#160;</div>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Tue, 10 Jan 2012 19:12:37 +0200</pubDate>
        </item>
</channel>
</rss>