<?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: JQGrid Multi Search on Tool bar causes grid to hang</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang</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/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on JQGrid Multi Search on Tool bar causes grid to hang</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21967</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21967</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>Hello jayedisonhome,</p>
<p>I can also reproduce the problem in Chrome or Internet Explorer. The problem exist if one try to search for the strings with blanks in the column of the type <strong>sorttype:&#39;int&#39;</strong>. The error will be in the <a href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.base.js#L394" target="_blank">line 394</a>&#160;of grid.base.js. It will be tried to make <strong>eval</strong> for</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3298' value='Select Code' data-codeid='sfcode3298' /></p>
<div class='sfcode' id='sfcode3298'>(parseInt(this.item_id,10) == parseInt( &#160; ,10))</div>
<p>which has syntax error. The origin for the problem is in the <a href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.base.js#L473" target="_blank">lines 473-475</a>:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6387' value='Select Code' data-codeid='sfcode6387' /></p>
<div class='sfcode' id='sfcode6387'>val = isNaN(Number(val)) ? &#39;0&#39; : val; // To be fixed with more inteligent code<br /> fld = &#39;parseInt(&#39;+fld+&#39;,10)&#39;;<br /> val = &#39;parseInt(&#39;+val+&#39;,10)&#39;;</div>
<p>One cen fix the lines to&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5792' value='Select Code' data-codeid='sfcode5792' /></p>
<div class='sfcode' id='sfcode5792'>val = isNaN(Number(val)) ? &#39;0&#39; : val; // To be fixed with more inteligent code<br /> fld = &#39;parseInt(&#39;+fld+&#39;,10)&#39;;<br /> val = &#39;parseInt(&#39;+<strong>Number(val)</strong>+&#39;,10)&#39;;</div>
<p>The same changes should be done in the line <a href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.base.js#L483" target="_blank">483</a>.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Sun, 06 Feb 2011 21:27:00 +0200</pubDate>
        </item>
        <item>
        	<title>jayedisonhome on JQGrid Multi Search on Tool bar causes grid to hang</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21966</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21966</guid>
        	        	<description><![CDATA[<p>I can reproduce this bug easily everytime in the demo page. I did exactly as you said.</p>
<p>Went to demo page, clicked New in Version 3.7, clicked Multiple search, clicked the search icon in the bottom tool bar, this pops up the search form, entered 3 spaces on the right search box and clicked find. The grid shows loading and hangs forever.....after that you can&#39;t do anything on the grid , no button works.</p>
<p>Please let me know if you need more information.</p>
]]></description>
        	        	<pubDate>Sun, 06 Feb 2011 18:21:08 +0200</pubDate>
        </item>
        <item>
        	<title>tony on JQGrid Multi Search on Tool bar causes grid to hang</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21962</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21962</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>We can not reproduce the problem provided from you. We do not need screenshot, but real example.</p>
<p>You can simple go into the demo page select new in version 3.7 and then select Multiple search item - it is the same case.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 06 Feb 2011 09:55:02 +0200</pubDate>
        </item>
        <item>
        	<title>jayedisonhome on JQGrid Multi Search on Tool bar causes grid to hang</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21959</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-multi-search-on-tool-bar-causes-grid-to-hang#p21959</guid>
        	        	<description><![CDATA[<p>This defect is with the JQGrid Multiple Search Feature.</p>
<p>The JQGrid hangs when the you put spaces in the search field and click the find button. I think we should have a trim function in JQGrid to prevent. this.</p>
<p>If you need a screen shot I can email it.</p>
]]></description>
        	        	<pubDate>Sun, 06 Feb 2011 02:20:43 +0200</pubDate>
        </item>
</channel>
</rss>