<?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 the single search dialog box</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box</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-the-single-search-dialog-box/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23773</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23773</guid>
        	        	<description><![CDATA[<p>Thanks Oleg for your help and tips.</p>
<p>I&#39;m sorry I did not include all my jqGrid setting in the last post as some of the settings were set as global default in another js file and I missed them. For reference, I&#39;m reattaching the code with the missing settings.</p>
<p>I think I either need to disable the built-in search dialog or disable column reordering to keep the grid working properly until this issue gets addressed in a revision.</p>
<p>Thanks again Oleg, Cheers!</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8900' value='Select Code' data-codeid='sfcode8900' /></p>
<div class='sfcode' id='sfcode8900'>
<p>var searchGrid = $(&#34;#searchGrid&#34;);</p>
<p>/*** jqGrid Configuration ***/<br />var searchOptions = {<br />&#160;caption: &#39;Existing Entries&#39;,<br />&#160;url: ENDPOINT_PATH,<br />&#160;colNames: [&#39;Entry Date&#39;, &#39;Entry Type&#39;, &#39;Client Name&#39;, &#39;HCN&#39;, &#39;MRN&#39;, &#39;Provider&#39;],<br />&#160;colModel: [<br />&#160;&#160;{ name: &#39;EntryDate&#39;, index: &#39;EntryDate&#39;, sorttype: &#39;date&#39;, datefmt: &#39;d-m-Y&#39;, width: 95 },<br />&#160;&#160;{ name: &#39;EntryType&#39;, index: &#39;EntryType&#39;, width: 100 },<br />&#160;&#160;{ name: &#39;ClientName&#39;, index: &#39;ClientName&#39;, width: 283, searchoptions: { sopt: [&#39;eq&#39;, &#39;bw&#39;, &#39;ew&#39;, &#39;cn&#39;]} },<br />&#160;&#160;{ name: &#39;HCN&#39;, index: &#39;HCN&#39;, width: 55, searchoptions: { sopt: [&#39;eq&#39;, &#39;bw&#39;, &#39;ew&#39;, &#39;cn&#39;]} },<br />&#160;&#160;{ name: &#39;MRN&#39;, index: &#39;MRN&#39;, width: 55 },<br />&#160;&#160;{ name: &#39;Provider&#39;, index: &#39;Provider&#39;, width: 280, searchoptions: { sopt: [&#39;eq&#39;, &#39;bw&#39;, &#39;ew&#39;, &#39;cn&#39;]} }<br />&#160;],<br />&#160;sortname: &#39;EntryDate&#39;,<br />&#160;sortorder: &#39;desc&#39;,<br />&#160;pager: &#39;#searchGridPager&#39;,<br />&#160;onSelectRow: function (rowid) {<br />&#160;&#160;// do something here...<br />&#160;}, <br />&#160;loadError: function(request, status, error) {<br />&#160;&#160;// do something here...<br />&#160;},<br />&#160;datatype: &#34;json&#34;,<br />&#160;height: &#39;auto&#39;, //set to value 255 for virtual scrolling<br />&#160;page: 1,<br />&#160;rowNum: 10,<br />&#160;rowList: [],<br />&#160;viewrecords: true,<br />&#160;sortable: true,<br />&#160;scroll: false, //set to 1 for virtual scrolling. As of v3.7, virtual scrolling is still buggy. <br />&#160;rownumbers: false, //optionally set to true to display row numbers<br />&#160;gridview: true,<br />&#160;scrollrows: true,<br />&#160;loadBeforeSend: function () {<br />&#160;&#160;// do something here...<br />&#160;},<br />&#160;beforeRequest: function () {<br />&#160;&#160;// do something here...<br />&#160;}&#160;<br />};<br />searchGrid.jqGrid(searchOptions);<br />searchGrid.jqGrid(&#39;navGrid&#39;, &#39;#searchGridPager&#39;, { add: true, edit: true, del: true, search: true });</p>
</div>
]]></description>
        	        	<pubDate>Mon, 27 Jun 2011 17:18:56 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23763</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23763</guid>
        	        	<description><![CDATA[<p>Hello&#160;<strong>jhsu</strong>,</p>
<p>I couldn&#39;t reproduce the creating of the horizontal toolbar with respect of the code example which you posted, but after small modification I could do it. I added to the <strong>searchoptions</strong> additional property <strong>size:100</strong>. So we will have imediately the horisontal bar in the searching dialog. To make all easy I moved the column having &#160;<strong>searchoptions</strong>&#160;{&#160;<strong>size:100,&#160;</strong>...} on the first place.</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/SearchFilterScrolling.htm" target="_blank">The demo</a> can be used to reproduce the problem in Internet Explorer 9. One should just open the searching dialog</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/SearchFilterScrolling1.png"><img src="http://www.ok-soft-gmbh.com/jqGrid/SearchFilterScrolling1.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>and then click in the input box. The height of the searching dialog sill be increased:</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/SearchFilterScrolling2.png"><img src="http://www.ok-soft-gmbh.com/jqGrid/SearchFilterScrolling2.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>It is important that IE9 works not in the compatibility view.</p>
<p>The described problem is <strong>Internet Explorer bug and not jqGrid bug</strong>. The problem is very the same as I described <a href="/blog/?page_id=393/bugs/heightauto-works-wrong-in-ie-height100-works-correct/#p22557" target="_blank">here</a>. Moreover I can&#39;t confirm the first assumption from my last post. I mean I don&#39;t think that jqGrid has wrong calculation of the searching dialog width. There are some searching settings which follow to the horizontal bar and it is not a bug. So the only problem is that the dialog height will be increased by IE9.</p>
<p>As a workaround I suggest to add "height:100%" style to the div which construct the searching dialog. For example in <a href="http://www.ok-soft-gmbh.com/jqGrid/SearchFilterScrolling1.htm" target="_blank">the modified demo</a> I use afterShowSearch to add the CSS class:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8022' value='Select Code' data-codeid='sfcode8022' /></p>
<div class='sfcode' id='sfcode8022'>afterShowSearch: function($form){<br />&#160; &#160; var browserVersionParts = $.browser.version.split(&#39;.&#39;);<br />&#160; &#160; if ($.browser.msie &#38;&#38; (browserVersionParts.length&#62;1 &#38;&#38; browserVersionParts[0]===&#39;9&#39; &#124;&#124;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;document.documentMode === 9)) {<br />&#160; &#160; &#160; &#160; $form.css(&#39;height&#39;,&#39;100%&#39;);<br />&#160; &#160; }<br />}&#160;</div>
<p>Of course I think that the addind of "<strong>height:100%</strong>" style in case of IE9 should be done by jqGrid and one should modify <a href="https://github.com/tonytomov/jqGrid/blob/v4.1.1/js/grid.formedit.js#L89" target="_blank">the corresponding line</a> of the <strong>grid.formedit.js</strong>. I hope, that Tony read this topic, that he agrees with me and he will make the corresponding changes in the code of <strong>grid.formedit.js</strong>.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Sun, 26 Jun 2011 13:25:20 +0300</pubDate>
        </item>
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23754</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23754</guid>
        	        	<description><![CDATA[<p>Hi Oleg,</p>
</p>
<p>Thanks a lot for the quick follow-up. Yes, I was indeed&#160;using IE9 to test out the features. The IE browser in general,&#160;regardless of recent versions and progress, is still evil. There&#39;s just so many css rendering issues with it.&#160;</p>
<p>I&#39;m attaching my code here, please let me know if you need anything else. Thanks for your help again!</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7635' value='Select Code' data-codeid='sfcode7635' /></p>
<div class='sfcode' id='sfcode7635'>
<p>var searchGrid = $(&#34;#searchGrid&#34;);</p>
<p>/*** jqGrid Configuration ***/<br />var searchOptions = {<br />&#160;caption: &#39;Existing Entries&#39;,<br />&#160;url: ENDPOINT_PATH,<br />&#160;colNames: [&#39;Entry Date&#39;, &#39;Entry Type&#39;, &#39;Client Name&#39;, &#39;HCN&#39;, &#39;MRN&#39;, &#39;Provider&#39;],<br />&#160;colModel: [<br />&#160;&#160;{ name: &#39;EntryDate&#39;, index: &#39;EntryDate&#39;, sorttype: &#39;date&#39;, datefmt: &#39;d-m-Y&#39;, width: 95 },<br />&#160;&#160;{ name: &#39;EntryType&#39;, index: &#39;EntryType&#39;, width: 100 },<br />&#160;&#160;{ name: &#39;ClientName&#39;, index: &#39;ClientName&#39;, width: 283, searchoptions: { sopt: [&#39;eq&#39;, &#39;bw&#39;, &#39;ew&#39;, &#39;cn&#39;]} },<br />&#160;&#160;{ name: &#39;HCN&#39;, index: &#39;HCN&#39;, width: 55, searchoptions: { sopt: [&#39;eq&#39;, &#39;bw&#39;, &#39;ew&#39;, &#39;cn&#39;]} },<br />&#160;&#160;{ name: &#39;MRN&#39;, index: &#39;MRN&#39;, width: 55 },<br />&#160;&#160;{ name: &#39;Provider&#39;, index: &#39;Provider&#39;, width: 280, searchoptions: { sopt: [&#39;eq&#39;, &#39;bw&#39;, &#39;ew&#39;, &#39;cn&#39;]} }<br />&#160;],<br />&#160;sortname: &#39;EntryDate&#39;,<br />&#160;sortorder: &#39;desc&#39;,<br />&#160;pager: &#39;#searchGridPager&#39;,<br />&#160;onSelectRow: function (rowid) {<br />&#160;&#160;// do something here...<br />&#160;}<br />};<br />searchGrid.jqGrid(searchOptions);<br />// set visibility of the navigation bar buttons. They are visible by default unless set otherwise.<br />searchGrid.jqGrid(&#39;navGrid&#39;, &#39;#searchGridPager&#39;, { add: true, edit: true, del: true, search: true });</p>
</div>
]]></description>
        	        	<pubDate>Sat, 25 Jun 2011 18:16:49 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23751</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23751</guid>
        	        	<description><![CDATA[<p>Hello <strong>jhsu</strong>,</p>
<p>I suppose that the problem with increasing of the height exist only in Internet Explorer 9. The problem seems to my combination of two problems:</p>
<ol>
<li>the bug in the calculation of the width of th searching dialog or some of its components.</li>
<li>the IE9 bug which I discuss with Tony for some time. The problem is that in some cases IE9, if there are horisontal scrollbar, the IE9 start to increase height of tables having <strong>height="auto"</strong> style. It is IE9 problem, but it could be solved if one would use <strong>height="100%"</strong> instead of <strong>height="auto"</strong>&#160;style</li>
</ol>
<p>One should look at the details how to solve the problem which you describe. Could you post the code of the grid which can be used to reproduce the problem?</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sat, 25 Jun 2011 01:06:43 +0300</pubDate>
        </item>
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23748</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23748</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>It looks like i have found another display/behaviour related the single search dialog box.</p>
<p>To reproduce this issue:</p>
<p>1. refresh the page with the grid on it.</p>
<p>2. rearrange&#160;a column on the grid by&#160;dragging and dropping to a different place on the grid.&#160;</p>
<p>3. click on the search button from navigation bar at the bottom of the grid.</p>
<p>4.&#160;A search dialog formatted in this way will appear.</p>
<p><a href="http://farm6.static.flickr.com/5227/5867440134_a35760e0fd.jpg"><img src="http://farm6.static.flickr.com/5227/5867440134_a35760e0fd.jpg" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>5. and the&#160;dialog box&#39;s height increases with each click of the column selector dropdown list.&#160;<a href="http://farm4.static.flickr.com/3059/5867440174_5e40af9d76.jpg"><img src="http://farm4.static.flickr.com/3059/5867440174_5e40af9d76.jpg" width="100"  style="float: left;" class="spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class=" sfmouseother" alt="Image Enlarger" /></a></p>
<p>Thanks for your help again Tony.</p>
]]></description>
        	        	<pubDate>Fri, 24 Jun 2011 22:13:40 +0300</pubDate>
        </item>
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23706</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23706</guid>
        	        	<description><![CDATA[<p>Thanks a lot Tony for fixing this issue and thank you OlegK for reiterating and confirming the problem.</p>
]]></description>
        	        	<pubDate>Mon, 20 Jun 2011 21:56:18 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23679</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23679</guid>
        	        	<description><![CDATA[<p>Thank you very much! I have seen <a href="https://github.com/tonytomov/jqGrid/commit/79cc5e09821e4f2dc89144f8ef14a4776170fccc" target="_blank">the change</a>&#160;on the githib. It is exactly what I needed.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sat, 18 Jun 2011 12:40:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23676</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box/page-2#p23676</guid>
        	        	<description><![CDATA[<p>Not a problem. Will add this event.</p>
<p>Thanks again</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 18 Jun 2011 12:05:51 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23675</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23675</guid>
        	        	<description><![CDATA[<p>You are welcome!</p>
<p>The first look at the modified code seems be very good. Introducing of the ruleButtons should solve the problem.</p>
<p>What do you think about infroducing of the new events at least <strong>afterRedraw</strong> which will be called at the end of <a href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.filter.js#L172" target="_blank">reDraw</a> method. In the current implementation of the <em>grid.filter.js</em> it is very difficult to make any customizing of the dialog. In form editing one can use <strong>afterShowForm</strong> event for example to make any changes in the form. The <em>grid.filter.js</em>&#160;redraw/recreate the full contain on the searching dialog, so all changes from afterShowSearch will be destroyed. Introducing of more public events could solve the problem.</p>
<p>I use "public event" because filter module has <strong>onChange</strong> for example, but it is already used in the grid.formedit.js (see <a href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.formedit.js#L152" target="_blank">here</a>).</p>
<p>I hope you understand the problems with the usage of the current version of the <em>grid.filter.js</em>. Such simple thing like setting of the focus on another field is really difficult to implement now. I used overwriting of reDraw method as a workaround (see <a href="http://stackoverflow.com/questions/6064230/jqgrid-search-popup-allows-all-filters-to-be-removed/6117351#6117351" target="_blank">here</a>).</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Sat, 18 Jun 2011 12:01:51 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23670</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23670</guid>
        	        	<description><![CDATA[<p>Oleg.</p>
<p>Always thank you. You are absolutley right. I misunderstud&#160; the word reloading - I mean reloading browser, but not the grid.</p>
<p>Fixed. Also make it so that the buttons are created/not created in the filter, but not in the search dialog.</p>
</p>
<p>Thank again</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 18 Jun 2011 11:21:18 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23663</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23663</guid>
        	        	<description><![CDATA[<p>It&#39;s very strange! I can reproduce the problem in all web browsers which I have on my Windows 7 SP1 computer:</p>
<p>the last version of Google Chrome (12.0.742.100), Internet Explorer 9 (9.0.8112.16421), Safari 5.0.5 (7533.21.1), Opera 11.11 (build 2109), Firefox 3.6.17 and&#160;Nightly 7.0a1 (2011-06-16).</p>
<p>I used <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithSimpleSearch41.htm" target="_blank">the same demo</a>&#160;and followed the instructions which I described before: Open, Close single search dialog, clicked Reload Grid button on the navigation bar and then open the search dialog one more time. I see the Advance Search dialog instead of Single Search dialog.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 16:17:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23659</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23659</guid>
        	        	<description><![CDATA[<p>Oleg,</p>
<p>This work for me fine. No problems. FF4 and Chome on Ubuntu.</p>
<p>Should I think it is ony in IE?</p>
</p>
<p>Will check</p>
</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 14:38:20 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23656</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23656</guid>
        	        	<description><![CDATA[<p>You are right Ankit, the problem still exist in jqGrid 4.1.</p>
<p>One can reproduce the problem on <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithSimpleSearch41.htm" target="_blank">the following demo</a>:</p>
<p>1) one open search dialog which will looks correct.</p>
<p>2) one close the dialog</p>
<p>3) one clich "Reload Grid" button from the navigation bar</p>
<p>4) one open the search dialog one more time. One will see "Advance Searching" dialog instead of "Single Value Search" dialog:</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithAdvancedSearch41Focus1.png"><img src="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithAdvancedSearch41Focus1.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 13:25:38 +0300</pubDate>
        </item>
        <item>
        	<title>Ankit on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23652</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23652</guid>
        	        	<description><![CDATA[<blockquote>
<p>jhsu said:</p>
<p>Hi Tony,</p>
</p>
<p>Is there anyway to make the search dialog modal again like v3.8 to work around the issue described above while it&#39;s being worked on?</p>
<p>To reiterate the issue:</p>
<p>When the search dialog comes up in single search mode, clicking on the reload grid button on the pager bar unhides the AND/OR operator select dropdown list.</p>
</p>
<p>Thanks Tony</p>
</blockquote>
<hr />
<p>Hi Tony,</p>
</p>
<p>Is there any fix regarding the above issue as I am also facing the same problem while reloading the grid the &#39;AND&#39; &#38; &#39;OR&#39; drop down is visible again. Which is not supposed to be there in Simple Single search.</p>
</p>
<p>Eagerly waiting for the reply,</p>
</p>
<p>Thanks in advance,</p>
<p>Ankit</p>
]]></description>
        	        	<pubDate>Fri, 17 Jun 2011 12:41:57 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23532</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23532</guid>
        	        	<description><![CDATA[<p>Hello <strong>jhsu</strong>,</p>
<p>I think you are right. The problem is that the hiding of the "Add-rule" and "Delete-rule" buttons will be done in grid.formedit.js (see the line <a href="https://github.com/tonytomov/jqGrid/blob/v4.0.0/js/grid.formedit.js#L163" target="_blank">163</a>)</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2624' value='Select Code' data-codeid='sfcode2624' /></p>
<div class='sfcode' id='sfcode2624'>if(p.multipleSearch === false) {<br />&#160; &#160; $(&#34;.add-rule&#34;,&#34;#&#34;+fid).hide();<br />&#160; &#160; $(&#34;.delete-rule&#34;,&#34;#&#34;+fid).hide();<br />}&#160;</div>
<p>and not in the <strong>grid.filter.js</strong> module. On the other side the new Filter module make refresh of all contain (the call of <a href="https://github.com/tonytomov/jqGrid/blob/v4.0.0/js/grid.filter.js#L171" target="_blank">reDraw</a> method) in many cases. For example one can just click on the Reset button of the searching dialog to make the buttons visible.</p>
<p>Tony, if you would makes modification of <strong>grid.filter.js</strong>&#160;module it would be nice if you make other small changes. For example, currently Filter dialog allows to remove the last filter Rule. It was not permitted in the old Advance Searching dialog (see <a href="/blog/SimpleLocalGridWithAdvSearching2.htm" target="_blank">the demo</a> from the answer <a href="http://stackoverflow.com/questions/6064230/jqgrid-search-popup-allows-all-filters-to-be-removed/6117351#6117351" target="_blank">for example</a>). Including of <em>more public events</em> like <strong>beforeRedraw</strong> and <strong>afterRedraw</strong> and so on would be very helpfull for the Filter dialog customization. Support of keyboard events (at least Esc and Enter) would be also very helpful. Currently the setting of <strong>closeOnEscape:true</strong> as the searching option will be just ignored. The option <strong>searchOnEnter</strong> would be great to have.</p>
<p>In the current implementation of <strong>grid.filter.js</strong>&#160;almost any customization of the Searching dialog can be implemented only with respect of overwriting of Filter methods (see <a href="http://stackoverflow.com/questions/6116402/remove-search-operator-and-or-in-multiplesearch-jqgrid/6117193#6117193" target="_blank">here</a> and <a href="http://stackoverflow.com/questions/6230277/can-i-customize-text-on-jqgrid-search-options-on-per-column-basis/6237618#6237618" target="_blank">here</a>).</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Wed, 08 Jun 2011 19:59:48 +0300</pubDate>
        </item>
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23531</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23531</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>Is there anyway to make the search dialog modal again like v3.8 to work around the issue described above while it&#39;s being worked on?</p>
<p>To reiterate the issue:</p>
<p>When the search dialog comes up in single search mode, clicking on the reload grid button on the pager bar unhides the AND/OR operator select dropdown list.</p>
</p>
<p>Thanks Tony</p>
]]></description>
        	        	<pubDate>Wed, 08 Jun 2011 15:39:05 +0300</pubDate>
        </item>
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23431</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p23431</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I just noticed another bug with the search filter&#160;dialog box in single search mode. The top "AND OR" operator dropdown list appears if the user clicks on the refresh (Reload grid) button from the pager bar of the main grid.</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Thu, 02 Jun 2011 17:24:04 +0300</pubDate>
        </item>
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p22870</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p22870</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
</p>
<blockquote>
<p>&#160;just got&#160;multisearch working&#160;by using the default search button in the navGrid bar, but if I use my own custom search button as follows, then the multisearch elements don&#39;t show up in the dialog.</p>
</p>
</blockquote>
<p><input type='button' class='sfcodeselect' name='sfselectit3262' value='Select Code' data-codeid='sfcode3262' /></p>
<div class='sfcode' id='sfcode3262'>
<p>searchGrid.jqGrid(&#39;navButtonAdd&#39;, &#39;#searchGridPager&#39;, { caption: &#39;Search&#39;, buttonicon: &#39;custom-search&#39;,<br />&#160;onClickButton: function () {<br />&#160;&#160;$(this).jqGrid(&#39;searchGrid&#39;);<br />&#160;}<br />});</p>
</div>
<p>How do you expect this to happen if you do not set multipleSearch parameter?</p>
<p>You set it in the snadard navigator, but not in the custom button</p>
<p>Just for the record try this and let us know if it work.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2890' value='Select Code' data-codeid='sfcode2890' /></p>
<div class='sfcode' id='sfcode2890'>
<p>searchGrid.jqGrid(&#39;navButtonAdd&#39;, &#39;#searchGridPager&#39;, { caption: &#39;Search&#39;, buttonicon: &#39;custom-search&#39;,<br />&#160;onClickButton: function () {<br />&#160;&#160;$(this).jqGrid(&#39;searchGrid&#39;,{&#39;multipleSearch&#39;:true} );<br />&#160;}<br />});</p>
</div>
<p>&#160;Enjoy</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Good point. I missed that. Thanks for the sharp eye Tony. It appears to be working now!</p>
</p>
<p>Thanks again!&#160;</p>
]]></description>
        	        	<pubDate>Tue, 19 Apr 2011 17:42:42 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p22869</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p22869</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<blockquote>
<p>&#160;just got&#160;multisearch working&#160;by using the default search button in the  navGrid bar, but if I use my own custom search button as follows, then  the multisearch elements don&#39;t show up in the dialog.</p>
</p>
</blockquote>
<p><input type='button' class='sfcodeselect' name='sfselectit1152' value='Select Code' data-codeid='sfcode1152' /></p>
<div class='sfcode' id='sfcode1152'>
<p>searchGrid.jqGrid(&#39;navButtonAdd&#39;, &#39;#searchGridPager&#39;, { caption: &#39;Search&#39;, buttonicon: &#39;custom-search&#39;,<br />&#160;onClickButton: function () {<br />&#160;&#160;$(this).jqGrid(&#39;searchGrid&#39;);<br />&#160;}<br />});</p>
</p>
</div>
<p>How do you expect this to happen if you do not set multipleSearch parameter?</p>
<p>You set it in the snadard navigator, but not in the custom button</p>
<p>Just for the record try this and let us know if it work.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit649' value='Select Code' data-codeid='sfcode649' /></p>
<div class='sfcode' id='sfcode649'>
<p>searchGrid.jqGrid(&#39;navButtonAdd&#39;, &#39;#searchGridPager&#39;, { caption: &#39;Search&#39;, buttonicon: &#39;custom-search&#39;,<br /> &#160;onClickButton: function () {<br /> &#160;&#160;$(this).jqGrid(&#39;searchGrid&#39;,{&#39;multipleSearch&#39;:true} );<br /> &#160;}<br /> });</p>
</p>
</div>
<p>&#160;Enjoy</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 19 Apr 2011 17:28:11 +0300</pubDate>
        </item>
        <item>
        	<title>jhsu on Bug in the single search dialog box</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p22868</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-in-the-single-search-dialog-box#p22868</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>@korys</p>
<blockquote>
<p>I&#39;ll just stick to this topic. I noticed that defining multisearch options: &#39;groupOps&#39;, &#39;matchText&#39;, &#39;rulesText&#39; &#8211; using <strong>navGrid </strong>method, does nothing. I can&#39;t change english &#39;AND&#39; and &#39;OR&#39; in select or add texts.&#160; Didn&#39;t try other methods.</p>
</blockquote>
<p>As you can imagine these texts are not valid since there are no such select boxes. These will be added later.</p>
</p>
<blockquote>
<p>I tried to manually update jquery.jqGrid.src file with above fix, and when I set grid to single searching I get JS error &#39;hideButtons is not defined&#39;.</p>
</blockquote>
<p>This is very bad idea. Did you think that this is the only change that impact the problem. Did you see the other changes related to these problems.</p>
<blockquote>
<p>I dynamically set <strong>searchoptions sopt</strong> for each column after loadComplete with <strong>setColProp</strong> method. It sets options fine, but if don&#39;t change search operator in &#39;selectopts&#39; select in search window, in request it sets</p>
</blockquote>
<p>This problem is fixed too. Please look all the changes in the GitHub.</p>
<p>In the future please download the copy from GitHub and use this copy.</p>
</p>
<p>@jhsu,</p>
<p>Evrething work wor me OK. Did you download the copy from GitHub or you just make a manual changes like @korys.?</p>
</p>
<p>Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>I&#160;just got&#160;multisearch working&#160;by using the default search button in the navGrid bar, but if I use my own custom search button as follows, then the multisearch elements don&#39;t show up in the dialog.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5338' value='Select Code' data-codeid='sfcode5338' /></p>
<div class='sfcode' id='sfcode5338'>searchGrid.jqGrid(&#39;navGrid&#39;, &#39;#searchGridPager&#39;, { add: false, edit: false, del: false}, {}, {}, {}, { multipleSearch: true });<br />searchGrid.jqGrid(&#39;navButtonAdd&#39;, &#39;#searchGridPager&#39;, { caption: &#39;Search&#39;, buttonicon: &#39;custom-search&#39;,<br />&#160;onClickButton: function () {<br />&#160;&#160;$(this).jqGrid(&#39;searchGrid&#39;);<br />&#160;}<br />});&#160;</div>
<p>I downloaded the latest code from <a id="ed4605265389cb369115ab31a834386485cf6d61" class="js-slide-to" href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.filter.js" target="_blank">grid.filter.js</a>&#160;and <a id="538d9d6c11a5b8f233d2c061397f1d43e7304bc1" class="js-slide-to" href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.formedit.js" target="_blank">grid.formedit.js</a>&#160;that were changed most recently and ensured that i have the latest in other files as well.</p>
</p>
<p>&#160;</p>
]]></description>
        	        	<pubDate>Tue, 19 Apr 2011 16:20:03 +0300</pubDate>
        </item>
</channel>
</rss>