<?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: Clearing Search Data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/clearing-search-data</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/help/clearing-search-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>emo.antonov on Clearing Search Data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clearing-search-data#p20536</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clearing-search-data#p20536</guid>
        	        	<description><![CDATA[<p>I&#39;m not sure i get you right but here it is what I am using:</p>
</p>
<p>$("#jqg_Bvb_Grid_Deploy_JqGrid").jqGrid(&#39;navButtonAdd&#39;,"#jqg_pager_Bvb_Grid_Deploy_JqGrid",{<br />&#160;&#160; &#160;&#160;&#160; &#160;caption:"Clear Filters",<br />&#160;&#160; &#160;&#160;&#160; &#160;title:"Clear Search",<br />&#160;&#160; &#160;&#160;&#160; &#160;buttonicon :&#39;ui-icon-refresh&#39;, <br />&#160;&#160; &#160;&#160;&#160; &#160;onClickButton:function(){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<strong>var mygrid = $("#jqg_Bvb_Grid_Deploy_JqGrid")[0];<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mygrid.clearToolbar();<br /></strong>&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;});</p>
]]></description>
        	        	<pubDate>Thu, 28 Oct 2010 11:15:27 +0300</pubDate>
        </item>
        <item>
        	<title>ackerchez on Clearing Search Data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clearing-search-data#p20411</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clearing-search-data#p20411</guid>
        	        	<description><![CDATA[<p>Hi Everyone, I am hoping that one of the jqgrid gurus can help me here. Here is my problem.</p>
</p>
<p>Currently I have a grid set up with the search enabled. When I run a search everything works fine and I can return good data back to the grid. I see that the "_search" parameter on the url is set to "true" and all is well.</p>
</p>
<p>However, when finished with the search and the data is no longer relevant, I would like to reload the grid to display the previous data that was there (the data displayed on the initial pageload). I made a function to call the "trigger("reloadGrid")" method but that just sends the same data with the "_search" still set to "true".</p>
</p>
<p>Is there a way to clear out the search request data and just reload the initial data shown on pageload or at least set the "_search" value back to "false" so I can check against it? Currently the only way to display the original data is to reload the page.</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 18:29:10 +0300</pubDate>
        </item>
</channel>
</rss>