<?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 in validation of searching</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching</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-in-validation-of-searching/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on bug in validation of searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p30210</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p30210</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Thanks for let me know about this example mistake.</p>
<p>The problem was not in grid, but in the example grid setup.</p>
<p>Now I have corrected this and the example work as expected.</p>
<p>Thanks again</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Fri, 07 Feb 2014 11:32:21 +0200</pubDate>
        </item>
        <item>
        	<title>beza2000 on bug in validation of searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p30209</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p30209</guid>
        	        	<description><![CDATA[<p>Hello!<br />The example on the official jqGrid demo in "Searching" / "Validation in serach" with jqGrid  4.5.4 is&#160;not working.</p>
<p>Best regards</p>
<p>Alexander</p>
]]></description>
        	        	<pubDate>Fri, 07 Feb 2014 10:30:03 +0200</pubDate>
        </item>
        <item>
        	<title>tony on bug in validation of searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p28714</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p28714</guid>
        	        	<description><![CDATA[<p>Thanks Oleg,</p>
</p>
<p>Fixed</p>
]]></description>
        	        	<pubDate>Tue, 23 Apr 2013 16:13:39 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on bug in validation of searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p28700</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-validation-of-searching#p28700</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>jqGrid 4.4.5 has a bug: <strong>searchrules</strong> don&#39;t work more. One can reproduce the problem for example on the&#160;<a style="font-size: 14px;" href="/blog/jqgrid/jqgrid.html" target="_blank">official jqGrid demo</a>&#160;in&#160;<span style="font-size: 14px;">"Searching" / "Validation in serach".</span></p>
<p><span style="font-size: 14px;">The reason of the problem I described in <a href="http://stackoverflow.com/a/16110763/315935" target="_blank">the answer</a>. <a href="https://github.com/tonytomov/jqGrid/commit/16146121d0c6ef356753588188daf0fb14e0b244" target="_blank">The changes</a> in <strong>$.jgrid.checkValues</strong>&#160;was just not oriented on the case where <strong>g</strong> option are <strong>null</strong>. I suggested in the answer a simple bug fix, but after analysing of the problem more carefully I posted <a href="https://github.com/tonytomov/jqGrid/pull/450" target="_blank">the pull request</a> where one calls different common methods of jqGrid with correctly initialized <strong>this</strong>.</span></p>
<p><span style="font-size: 14px;">By the way, after applying of suggested changes one can remove <strong>$t</strong> parameter from <strong>bindEv</strong> and remove <strong>g</strong> from <strong>checkValues</strong>. Instead of that one could use <strong>this</strong>. It would make the usage of <strong>this</strong>&#160;more consequentially.</span></p>
<p><span style="font-size: 14px;">To do this one need just make simple modification in <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.celledit.js#L194" target="_blank">the line</a> inside of <strong>saveCell</strong> and <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.inlinedit.js#L209" target="_blank">the line</a> inside of <strong>saveRow</strong> which uses <strong>$.jgrid.checkValues</strong>&#160;and <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.formedit.js#L500" target="_blank">the line</a>&#160;of <strong>editGridRow</strong>, <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.custom.js#L360" target="_blank">the line</a>, <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.custom.js#L405" target="_blank">the line</a> and <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.custom.js#L360" target="_blank">the line</a> of <strong>filterToolbar</strong>, <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.celledit.js#L86" target="_blank">the line</a> of editCell and <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.formedit.js#L500" target="_blank">the line</a> of <strong>editGridRow</strong>&#160;which uses <strong>$.jgrid.bindEv</strong>. I changed already in the pull request two places where <strong>$.jgrid.bindEv</strong> used in&#160;<strong>$.fn.jqFilter</strong>.</span></p>
<p><span style="font-size: 14px;">Best regards<br />Oleg</span></p>
]]></description>
        	        	<pubDate>Sun, 21 Apr 2013 15:41:13 +0300</pubDate>
        </item>
</channel>
</rss>