<?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: force a toolbar search?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/force-a-toolbar-search</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/force-a-toolbar-search/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on force a toolbar search?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/force-a-toolbar-search#p19560</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/force-a-toolbar-search#p19560</guid>
        	        	<description><![CDATA[<p>Look at my <a href="http://stackoverflow.com/questions/3311929/is-there-a-way-to-programatically-set-a-filter-in-jquery-jqgrid/3337327#3337327" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....27#3337327</a> and <a href="http://www.trirand.com/blog/?page_id=393/help/toolbar-search-case-insensitive/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....sensitive/</a>.</p>
<p>I hope after examin this examples you could impement what you want.</p>
<p>To your other question. Parameter postData is very usefull if you want send additional information from the client to the server. For example url: "http://my.com/Svc", postData: {country: "Germany", langage: "german"} in case of HTTP GET requests follow to usage of url like <a rel="nofollow" href="http://my.com/Svc?country=" target="_blank">http://my.com/Svc?country=</a>"Germany"&#38;langage="german". In case of HTTP POST request the data from postData will be placed to the HTTP body.</p>
<p>Usage of userData is a standard way to send an additional information from the server to jqGrid (see /jqgridwiki/doku.php?id=wiki:retrieving_data#user_data). jqGrid knows the parameter and save tha data as a part of internaldata. To get the data later from the jqGrid you can use jQuery("grid_id").getGridParam(&#39;userData&#39;).</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Tue, 07 Sep 2010 11:32:47 +0300</pubDate>
        </item>
        <item>
        	<title>mchahn on force a toolbar search?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/force-a-toolbar-search#p19555</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/force-a-toolbar-search#p19555</guid>
        	        	<description><![CDATA[<p>I want to fill out the filter toolbar from my code and then force a search, just as if the user had pressed enter. &#160;I&#39;ve written code that fills out the input text boxes. &#160;It works fine, but I can&#39;t figure out how to get the search to happen. &#160;He is my code to fill out the boxes:</p>
</p>
<p>function setGridSearchFields($grid, valueMap) {</p>
<p>&#160;&#160; &#160;var $inputs = $(&#39;#gview_&#39; + $grid.attr(&#39;id&#39;)) 						.find(&#39;.ui-search-toolbar&#39;) 						.find(&#39;input&#39;).val(&#39;&#39;);</p>
<p>&#160;&#160; &#160;for(var name in valueMap)</p>
<p>&#160;&#160; &#160; &#160; &#160;$inputs.filter(&#39;[name="&#39;+name+&#39;"]&#39;).val(valueMap[name]);</p>
<p>}</p>
</p>
<p>I thought maybe I could fill out the boxes and then send extra params with a normal reload, but I can&#39;t get either the postData or userData options to work. &#160;BTW: What is the difference between postData and userData?</p>
]]></description>
        	        	<pubDate>Tue, 07 Sep 2010 00:06:26 +0300</pubDate>
        </item>
</channel>
</rss>