<?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: Clear Toolbar Button</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button</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/feature-request/clear-toolbar-button/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Adriien M on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29859</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29859</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Thanks for the feature implementation!</p>
<p>It works perfectly, however, the title isn&#39;t internationalized, indeed it&#39;s hardcoded with the value "Clear Search Value".</p>
<p>It&#39;s not really a problem, I change the title on the GridComplete event but it would be nice to add a translation for others languages or simply use the &#39;Reset&#39; translation&#8230;</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 19 Nov 2013 12:09:28 +0200</pubDate>
        </item>
        <item>
        	<title>lorife on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29842</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29842</guid>
        	        	<description><![CDATA[<p>thank you all.</p>
</p>
<p>lorenzo</p>
]]></description>
        	        	<pubDate>Tue, 12 Nov 2013 17:13:56 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29791</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29791</guid>
        	        	<description><![CDATA[<p>Oleg,</p>
</p>
<p>Thanks.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
</p>
<p>P.S. I have merged your pull request</p>
]]></description>
        	        	<pubDate>Mon, 04 Nov 2013 18:53:17 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29790</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29790</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>to be exact the usage of the property <strong>clearSearch: false</strong>&#160;not full solve&#160;the problem. I don&#39;t posted the issue before, but even if we use <strong>cmTemplate: {&#160;clearSearch: false&#160;}</strong> we have still a litte reduced width for the searching elements. I have to use grids with a lot of columns with chechboxes inside. So the width of the columns should be the little the possible to represent only the arrow of select element in the searching toolbar. After updating to the last version of jqGrid I had to make small fix. One need to hide &#60;td&#62; element where the clear icon will be created. The current version hold the cell visible and empty, which get about 2px place. To fix the problem one can for example modify <a href="https://github.com/tonytomov/jqGrid/blob/v4.5.4/js/grid.custom.js#L421-L423" target="_blank">the lines</a> of the <strong>filterToolbar</strong>&#160;method from<span style="font-size: 14px;">&#160;</span></p>
<p><input type='button' class='sfcodeselect' name='sfselectit1065' value='Select Code' data-codeid='sfcode1065' /></p>
<div class='sfcode' id='sfcode1065'>if(soptions.clearSearch) {<br />&#160; &#160; $(&#34;td:eq(2)&#34;,stbl).append(&#34;&#60;a title=&#39;Clear Search Value&#39; style=&#39;padding-right: 0.3em;padding-left: 0.3em;&#39; class=&#39;clearsearchclass&#39;&#62;x&#60;/a&#62;&#34;);<br />}&#160;</div>
<p>to</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5638' value='Select Code' data-codeid='sfcode5638' /></p>
<div class='sfcode' id='sfcode5638'>if(soptions.clearSearch) {<br />&#160; &#160; $(&#34;td:eq(2)&#34;,stbl).append(&#34;&#60;a title=&#39;Clear Search Value&#39; style=&#39;padding-right: 0.3em;padding-left: 0.3em;&#39; class=&#39;clearsearchclass&#39;&#62;x&#60;/a&#62;&#34;);<br />} <strong>else {<br />&#160; &#160; $(&#34;td:eq(2)&#34;, stbl).hide();<br />}&#160;</strong></div>
<p>Best regards<br />Oleg</p>
<p>P.S. I posted <a href="https://github.com/tonytomov/jqGrid/pull/531" target="_blank">the simple pull request</a>.&#160;Please Tony take a look in it.</p>
]]></description>
        	        	<pubDate>Mon, 04 Nov 2013 16:15:44 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29789</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29789</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>In colMode searchoptions set clearSearch : false and the clear button will not appear.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 04 Nov 2013 11:19:56 +0200</pubDate>
        </item>
        <item>
        	<title>lorife on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29788</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p29788</guid>
        	        	<description><![CDATA[<p>Hi, Is there a way to hide the button and go back as before?</p>
<p>Thank you, lorenzo</p>
<p> tony said:</p>
<blockquote>
<p>Hello,</p>
</p>
<p>Thank you very much for this recommendation.</p>
<p>I too think &#8211; it is a really usefull.</p>
<p>I will try to include it in the next release.</p>
</p>
<p>Thanks</p>
</p>
<p>Best Regards</p>
</blockquote>
<hr />
]]></description>
        	        	<pubDate>Mon, 04 Nov 2013 11:05:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p28963</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p28963</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Thank you very much for this recommendation.</p>
<p>I too think - it is a really usefull.</p>
<p>I will try to include it in the next release.</p>
</p>
<p>Thanks</p>
</p>
<p>Best Regards</p>
]]></description>
        	        	<pubDate>Fri, 07 Jun 2013 08:14:15 +0300</pubDate>
        </item>
        <item>
        	<title>Adriien M on Clear Toolbar Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p28943</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/clear-toolbar-button#p28943</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>This is my first post in this Forum and first of all, I thank you for this amazing plugin !!</p>
</p>
<p>I am here to propose a new functionnality to the toolbar searching module.</p>
</p>
<p>Indeed, I think that adding a new button to clear the current search would be quite useful.</p>
</p>
<p>Here is what it would look like:</p>
<p><a href="http://imageup.fr/uploads/1370432366.png"><img src="http://imageup.fr/uploads/1370432366.png" width="100"  class="sfimageleft spUserImage" alt="jqgrid toolbar clear button" /><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>
<p>At the moment, in order to achieve this functionnality, I use the grid&#39;s LoadComplete event in conjonction with the ClearToolbar method.</p>
</p>
<p>But I think it would be nice a functionnality to have natively (with a new option).</p>
</p>
<p>I am looking forward to hearing from you all.</p>
</p>
<p>Best regards.</p>
]]></description>
        	        	<pubDate>Wed, 05 Jun 2013 14:44:11 +0300</pubDate>
        </item>
</channel>
</rss>