<?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: Some Bugfixes for 3.6.5</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5</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/some-bugfixes-for-3-6-5/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dajaney on Some Bugfixes for 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p17106</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p17106</guid>
        	        	<description><![CDATA[<p>Klaus, you are awesome&#160; 🙂</p>
</p>
<p>You don&#39;t just complain, you provide solutions. The perfect tester!</p>
]]></description>
        	        	<pubDate>Wed, 12 May 2010 15:47:18 +0300</pubDate>
        </item>
        <item>
        	<title>Klaus on Some Bugfixes for 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p17001</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p17001</guid>
        	        	<description><![CDATA[<p>here is another fix:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6403' value='Select Code' data-codeid='sfcode6403' /></p>
<div class='sfcode' id='sfcode6403'>
<p>$.jgrid.extend({<br />&#160; getGridParam : function(pName) {<br />&#160;&#160;&#160; var $t = this[0];<br />-&#160;&#160;&#160;&#160; if (!$t.grid) {return;}<br />+&#160;&#160;&#160;&#160; if (!$t &#124;&#124; !$t.grid) {return;}&#160;&#160;&#160; //FIX: avoid exception for empty jQuery sets&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; if (!pName) { return $t.p; }<br />&#160; &#160; else {return typeof($t.p[pName]) != &#34;undefined&#34; ? $t.p[pName] : null;}<br />&#160; },</p>
</div>
]]></description>
        	        	<pubDate>Fri, 07 May 2010 11:37:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Some Bugfixes for 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p16946</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p16946</guid>
        	        	<description><![CDATA[<p>HEllo,</p>
<p>Thanks Klaus, all of these have sense. Will be added.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 06 May 2010 13:39:59 +0300</pubDate>
        </item>
        <item>
        	<title>Klaus on Some Bugfixes for 3.6.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p16923</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-bugfixes-for-3-6-5#p16923</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>I&#39;ve just updated to the latest jqGrid release 3.6.5.</p>
<p>Many of my previous bug fixes have already been applied and included &#8211; thank you</p>
<p>But the following fixes should improve stability by preventing access to unavailable fields &#8211; most times these problemes only occur with async tasks (esp. with IE)</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9586' value='Select Code' data-codeid='sfcode9586' /></p>
<div class='sfcode' id='sfcode9586'>@addXmlData:<br />&#160; ts.p.totaltime = new Date() &#8211; startReq;<br />&#160; if(ir&#62;0 &#38;&#38; ts.rows &#38;&#38; ts.rows.length &#62; 0) { ts.grid.cols = ts.rows[0].cells; if(ts.p.records===0) { ts.p.records=gl;} }&#160; // FIX: prevent access on undefined object (rare error case in IE)</div>
<p><input type='button' class='sfcodeselect' name='sfselectit149' value='Select Code' data-codeid='sfcode149' /></p>
<div class='sfcode' id='sfcode149'>@addJSONData:<br />&#160; ts.p.totaltime = new Date() &#8211; startReq;<br />&#160; if(ir&#62;0 &#38;&#38; ts.rows &#38;&#38; ts.rows.length &#62; 0) {ts.grid.cols = ts.rows[0].cells;if(ts.p.records===0)ts.p.records=len;}&#160; // FIX: prevent access on undefined object (rare error case in IE)</div>
<p><input type='button' class='sfcodeselect' name='sfselectit3138' value='Select Code' data-codeid='sfcode3138' /></p>
<div class='sfcode' id='sfcode3138'>@setGridWidth:<br />&#160; return this.each(function(){<br />+&#160;&#160; if (!this.grid) {return;} &#160;&#160; &#160;// FIX: accessing $t.p&#8230; for non jqgrid elems<br />&#160;&#160;&#160; var $t = this, cw,<br />&#160;&#160;&#160; initwidth = 0, brd=$t.p.cellLayout, lvc, vc=0, hs=false, scw=$t.p.scrollOffset, aw, gw=0, tw=0,<br />&#160;&#160;&#160; cl = 0,cr;<br />-&#160;&#160; if (!$t.grid ) {return;}<br />&#160;&#160;&#160; &#8230; &#160;</div>
<p><input type='button' class='sfcodeselect' name='sfselectit6456' value='Select Code' data-codeid='sfcode6456' /></p>
<div class='sfcode' id='sfcode6456'>@getCellIndex:<br />&#160; getCellIndex : function (cell) {<br />-&#160;&#160; &#160;cell = $(cell);<br />-&#160;&#160; &#160;cell = (!cell.is(&#39;td&#39;) &#38;&#38; !cell.is(&#39;th&#39;) ? cell.closest(&#34;td,th&#34;) : cell)[0];<br />-&#160;&#160; &#160;if ($.browser.msie) { return $.inArray(cell, cell.parentNode.cells); }<br />-&#160;&#160; &#160;return cell.cellIndex;<br />+&#160;&#160; // FIX: avoid exception when given dom node is a tr<br />+&#160;&#160; var c = $(cell);<br />+&#160;&#160; if (c.is(&#39;tr&#39;)) { return -1; }<br />+&#160;&#160; c = (!c.is(&#39;td&#39;) &#38;&#38; !c.is(&#39;th&#39;) ? c.closest(&#34;td,th&#34;) : c)[0];<br />+&#160;&#160; if ($.browser.msie) return $.inArray(c, c.parentNode.cells);<br />+&#160;&#160; return c.cellIndex;<br />&#160; }</div>
</p>
<p>another improvement I applied in the jqGrid JS-files is for the document-body selectors:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9075' value='Select Code' data-codeid='sfcode9075' /></p>
<div class='sfcode' id='sfcode9075'>
<p>replace $(&#39;body&#39;) -&#62; with $(document.body) .. in all JS-files</p>
</div>
<p>Kind regards,<br />Klaus.</p></p>
]]></description>
        	        	<pubDate>Wed, 05 May 2010 18:03:07 +0300</pubDate>
        </item>
</channel>
</rss>