<?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: Bugs of jqGird Release 4.1.2</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2</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/bugs-of-jqgird-release-4-1-2/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Bugs of jqGird Release 4.1.2</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24340</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24340</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Not sure if this true about merge.</p>
<p>I will perform tests with this, but it depends what you do.</p>
<p>Here is example (in the php component) which uses dataInit, but it works</p>
<p><a rel="nofollow" href="/blog/phpjqgrid/examples/editing_data/datepicker_editdialog/default.php" target="_blank"></a><a href="http://www.trirand.com/blog/ph" rel="nofollow" target="_blank">http://www.trirand.com/blog/ph</a>.....efault.php</p>
</p>
<p>As for the email you will maybe to look at this page in the site:</p>
<p><a rel="nofollow" href="/blog/?page_id=2" target="_blank">http://www.trirand.com/blog/?page_id=2</a></p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 18 Aug 2011 15:51:26 +0300</pubDate>
        </item>
        <item>
        	<title>Markus Fritschi on Bugs of jqGird Release 4.1.2</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24301</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24301</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Thank yo for the fixes, but it will be better if you send me the files with the changes so that I see it in detail.</p>
<p>Just a question what is the benefit of using $.merge instead of extend in setAttributes function?</p>
</p>
<p>Kind Regards</p>
</blockquote>
<hr />
<p>Hi Toni,<br />difference between $.merge(exl, exclude) and $.extend(exclude, exl) is in this case error relevant:</p>
<p>When you look at the result, dataInit has been removed with $.extend command, not with $.merge!!<br />The result for jqgrid is that i.E. datepicker does not work anymore!<br />please tell me your e-mail address to sen you the files!</p>
<p>Thanks in advance!</p>
<p>Here the trace values:<br />RESULT WITH exclude = $.extend(exclude, exl);<br />BEFORE:<br />-&#160;&#160;exclude&#160;[dataInit,dataEvents,dataUrl,buildSelect,sopt,searchhidden,defaultValue,attr]<br />+&#160;&#160;[0]&#160;"value"&#160;String</p>
<p>AFTER<br />-&#160;&#160;exclude&#160;[value,dataEvents,dataUrl,buildSelect,sopt,searchhidden,defaultValue,attr]<br />-&#160;&#160;exl&#160;[value]&#160;Object, (Array)</p>
<p>RESULT WITH<br />BEFORE:<br />-&#160;&#160;exclude&#160;[dataInit,dataEvents,dataUrl,buildSelect,sopt,searchhidden,defaultValue,attr]<br />+&#160;&#160;exl&#160;[value]&#160;Object, (Array)<br />AFTER:<br />-&#160;&#160;exclude&#160;[value,dataInit,dataEvents,dataUrl,buildSelect,sopt,searchhidden,defaultValue,attr]<br />-&#160;&#160;exl&#160;[value,dataInit,dataEvents,dataUrl,buildSelect,sopt,searchhidden,defaultValue,attr]</p>
]]></description>
        	        	<pubDate>Tue, 16 Aug 2011 17:17:48 +0300</pubDate>
        </item>
        <item>
        	<title>Markus Fritschi on Bugs of jqGird Release 4.1.2</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24280</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24280</guid>
        	        	<description><![CDATA[<blockquote>
<p>Dear tony,&#160;I could not send you the email with the attachements. Your email was not accepted:</p>
<table dir="ltr" border="0" cellspacing="0" cellpadding="2" width="1203">
<tbody>
<tr>
<td>
<p>&#60;admin@trirand.com&#62;</p>
</td>
</tr>
<tr>
<td>
<p>Error transferring to mail.TRIRAND.COM; SMTP Protocol Returned a Permanent Error 550 5.1.1 &#60;admin@trirand.com&#62;: Recipient address rejected: User unknown in virtual mailbox table</p>
<p>Please give me your email! thanks in advance</p>
<p>Markus</p>
</td>
</tr>
</tbody>
</table>
</blockquote>
]]></description>
        	        	<pubDate>Mon, 15 Aug 2011 08:13:23 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Bugs of jqGird Release 4.1.2</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24257</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24257</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank yo for the fixes, but it will be better if you send me the files with the changes so that I see it in detail.</p>
<p>Just a question what is the benefit of using $.merge instead of extend in setAttributes function?</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Sun, 14 Aug 2011 11:14:18 +0300</pubDate>
        </item>
        <item>
        	<title>Markus Fritschi on Bugs of jqGird Release 4.1.2</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24189</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugs-of-jqgird-release-4-1-2#p24189</guid>
        	        	<description><![CDATA[<p>Hi Tony, Congratulation for your last release!!</p>
<p>Here the bugs, i hat to remove before using this wonderful release:</p>
</p>
<p>Changes for jqGrid: ( jqGrid&#160; 4.1.2&#160; - jQuery Grid )</p>
<p>to make work formedit, i had to change to following routine -- very important!!</p>
<p>grid.common.js:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; function setAttributes(elm, atr, exl) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var exclude = [&#39;dataInit&#39;, &#39;dataEvents&#39;, &#39;dataUrl&#39;, &#39;buildSelect&#39;, &#39;sopt&#39;, &#39;searchhidden&#39;, &#39;defaultValue&#39;, &#39;attr&#39;];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (typeof (exl) != "undefined" &#38;&#38; $.isArray(exl)) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //&#160; exclude = $.extend(exclude, exl);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; exclude = $.merge(exl, exclude);<br />&#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; $.each(atr, function (key, value) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($.inArray(key, exclude) === -1) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(elm).attr(key, value);<br />&#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; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (!atr.hasOwnProperty(&#39;id&#39;)) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(elm).attr(&#39;id&#39;, $.jgrid.randId());<br />&#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; }</p>
<p>to make work treegrid ( "adjacency" - model , different names in treeReader )&#160;&#160;&#160;</p>
<p>grid.treegrid.js:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; collapseNode: function (rc) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return this.each(function () {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (!this.grid &#124;&#124; !this.p.treeGrid) { return; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var expanded = this.p.treeReader.expanded_field;&#160;&#160;&#160; //&#160; changed Markus Fritschi 31.07.2011<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (rc[expanded]) { //&#160; changed Markus Fritschi 31.07.2011<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rc[expanded] = false;&#160;&#160; //&#160; changed Markus Fritschi 31.07.2011<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var id = $.jgrid.getAccessor(rc, this.p.localReader.id);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var rc1 = $("#" + id, this.grid.bDiv)[0];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("div.treeclick", rc1).removeClass(this.p.treeIcons.minus + " tree-minus").addClass(this.p.treeIcons.plus + " tree-plus");<br />&#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; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>I had to change these lines ( from a previous release )</p>
<p>&#160;ldat[expanded] = ((ldat[expanded] == "true" &#124;&#124; ldat[expanded] === true) ? true : false) &#38;&#38; ldat[loaded];<br />&#160;if (ldat[expanded] === true) {<br />&#160;&#160;twrap += $t.p.treeIcons.minus + " tree-minus treeclick&#39;";<br />&#160;} else {<br />&#160;&#160;twrap += $t.p.treeIcons.plus + " tree-plus treeclick&#39;";<br />&#160;}</p>
<p>&#160;twrap += "&#60;/div&#62;&#60;/div&#62;";<br />&#160;</p>
<p>to make work formedit, i had also to change to following routine -- very important!!<br />grid.formedit.js:</p>
<p>//&#160; following line changed by M.Fritschi on 03.08.2011<br />postdata = $.extend(postdata, rp_ge[$t.p.id].editData, onCS);<br />&#160;&#160;&#160;&#160;&#160;<br />everything works now fine!!</p>
]]></description>
        	        	<pubDate>Mon, 08 Aug 2011 10:57:28 +0300</pubDate>
        </item>
</channel>
</rss>