<?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: "bug" fix</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-fix</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/bug-fix/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on "bug" fix</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-fix#p2425</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-fix#p2425</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;d recommend you to send me a changes, so that they can appear</p>
<p>in the next Release.</p>
<p>Thank you</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 09 Oct 2008 02:55:47 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on "bug" fix</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-fix#p2420</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-fix#p2420</guid>
        	        	<description><![CDATA[<p>while i was at it, I also extended the dialog box with checkbox labels, so you can click in a column NAME rather than only that little square box.</p>
</p>
<p>around line 45, change the line :</p>
<p>&#160;<span> </span>$(tbl).append("&#60;tr&#62;&#60;td &#62;&#60;input type=&#39;checkbox&#39; id=&#39;col_" + this.p.colModel[i].name + "&#39; class=&#39;cbox&#39; value=&#39;T&#39; " + ((this.p.colModel[i].hidden==undefined)?"checked":"") + "/&#62;" + "&#60;label for=&#39;col_" + this.p.colModel[i].name + "&#39;&#62;" + this.p.colNames[i] + "(" + this.p.colModel[i].name + ")&#60;/label&#62;&#60;/td&#62;&#60;/tr&#62;");</p>
<p><div></div>
<div>(all i did was add a &#60;label for=&#39;...&#39;&#62;...&#60;/label&#62; with the id of checkbox.</div>
<div></div>
<div>Nothing fancy 🙂</div></p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 14:41:10 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on "bug" fix</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-fix#p2419</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-fix#p2419</guid>
        	        	<description><![CDATA[<p>this isn&#39;t really a bug, but more of an annoyance : when using the setColumns method, i need my jqGrid to resize when columns-change is submitted.</p>
</p>
<p>I added the following lines to grid.setColumns.js :</p>
</p>
<p>on line 22, i changed "afterShowForm: null" into :</p>
</p>
<p><span style="white-space: pre;"> </span>&#160;&#160; &#160; &#160; &#160;afterShowForm: null,&#160;&#160; &#160;&#160;</p>
<p><span style="white-space: pre;"> </span>afterSubmitForm: null</p>
<p>then i added the folllowing at line 29 (now line 30)</p>
</p>
<p>&#160;var onAfterSubmit = typeof p.afterSubmitForm === &#39;function&#39; ? true: false;</p>
<div>and finally after the FIRST "$("#"+IDs.themodal).jqmHide();", i added two lines :</div>
<div>
<div>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (onAfterSubmit)</div>
<div>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;<span> </span>p.afterSubmitForm($("#"+dtbl));</div>
</div>
<div></div>
<div>note : these two lines are in the submit-button-click-handler. There is no need to add them the cancel button handler, since nothing is changed there</div>
<div></div>
<div></div>
<div></div>
<div></div>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 14:27:04 +0300</pubDate>
        </item>
</channel>
</rss>