<?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: Search bug</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/search-bug</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/search-bug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Search bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/search-bug#p30978</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/search-bug#p30978</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>I do not think that this is a bug, as described in the title of the topic, but rather this is a expected behaviour.</p>
<p>Which search module is used - toolbar search or dialog search.</p>
<p>If you use toolbar search you can disable searchonEnter and do the desired behaviour.</p>
<p>For form search this instead is not available.</p>
<p>Â </p>
<p>Please look at the options in toolbar searching in the docs <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:toolbar_searching&#38;s[]=searchonenter" target="_blank">here</a>.</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 13:22:26 +0300</pubDate>
        </item>
        <item>
        	<title>jplevene on Search bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/search-bug#p30968</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/search-bug#p30968</guid>
        	        	<description><![CDATA[<p>If I have a search on a column, lets say of names, the user enters lets say "Andy" in the search inpu, the tree is populated (all well and good).</p>
<p>However, the user then deletes the word "Andy" so that the inputÂ is blank but <strong><span style="text-decoration: underline">does not press enter</span></strong>.</p>
<p>There are a fewÂ ways of showing this:</p>
<ul>
<li><span style="background-color: inherit">For the webpage we have, we have categories that apply extra filtering, when one of these filters is clicked, the grid calls the PHP routine with the filter and still passesÂ the filter word "Andy", even though the search inputÂ is blank.</span></li>
<li><span style="background-color: inherit">If the grid is refreshed usingÂ </span><span style="background-color: inherit">$('#</span><span style="background-color: inherit">grid</span><span style="background-color: inherit">').trigger('reloadGrid'), even though the search input is blank, it still applies the previous "Andy" filter.</span></li>
<li>If the user trims the search fromÂ "Andy" to "And", again does not press [ENTER], instead he refreshes the grid or in our case selects a category filter, JQGrid still passes the search as "Andy" and not "And" which is what is in the search input.</li>
</ul>
<p>I know that to apply or clear a filter you must press [ENTER] and once the user deleted all of the characters in the search input, he should press [ENTER], but we are talking users and their sometimes inability to follow instructions.</p>
<p>I have found with programming and userbility the best thing to do is always account for user stupidity as a scenario like this they would class as a bug and throw it back in our faces.</p>
]]></description>
        	        	<pubDate>Tue, 19 Aug 2014 13:32:43 +0300</pubDate>
        </item>
</channel>
</rss>