<?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 Field bug</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/search-field-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-field-bug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Search Field bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/search-field-bug#p30845</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/search-field-bug#p30845</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In navGrid search options set recreateFilter option to true.<br />
This will recreate the form and reread the colModel options before to show the search dialog.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8487' value='Select Code' data-codeid='sfcode8487' /></p>
<div class='sfcode' id='sfcode8487'>jQuery(&#34;#list2&#34;).jqGrid('navGrid', '#pager2',<br />
{ edit: false, add: false, del: false },<br />
{},<br />
{},<br />
{},<br />
{ multipleSearch: true, multipleGroup: true, showQuery: true, recreateFilter: true}
</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 14 Jul 2014 18:05:43 +0300</pubDate>
        </item>
        <item>
        	<title>Sandorf31 on Search Field bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/search-field-bug#p30831</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/search-field-bug#p30831</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have noticed one bug using navgrid like :</p>
<p>jQuery("#list2").jqGrid('navGrid', '#pager2',<br />
 { edit: false, add: false, del: false },<br />
 {},<br />
 {},<br />
 {},<br />
 { multipleSearch: true, multipleGroup: true, showQuery: true}</p>
<p>Â </p>
<p>This works fine.Â </p>
<p>I have additional code where I can decide which column to show or hide and would be nice Â when a column is hidden that time should not appear in the Search Dialog as a filter option so therefore I use:</p>
<p>$.each($('#list2').jqGrid('getGridParam', 'colModel'), function (index, value) {<br />
 if (value.name == event.target.name) {<br />
 value.search = false;<br />
 }<br />
 });</p>
<p>so I switch off the searchability on that column and this still works fine.</p>
<p>Â </p>
<p>The bug is when I try to show a column which has been hidden and switch the search field to true that column does not appear in the Search Dialog any more. You have to refresh the page to make it visible again.</p>
<p>Â </p>
<p>When I have done some debug and checked colModel search field does not exist, once is exist it does no make difference what is it's value.</p>
<p>Â </p>
<p>IÂ hope you can help me out, maybe I do something wrong.</p>
<p>Thanks,<br />
Sandor</p>
]]></description>
        	        	<pubDate>Wed, 09 Jul 2014 18:25:04 +0300</pubDate>
        </item>
</channel>
</rss>