<?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: Save Search Parameters</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters</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/save-search-parameters/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>donato.gr on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p22825</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p22825</guid>
        	        	<description><![CDATA[<p>I have this problem too (prefill filter form on page load). Have you found any solution?</p>
]]></description>
        	        	<pubDate>Mon, 18 Apr 2011 11:21:48 +0300</pubDate>
        </item>
        <item>
        	<title>gstoynev on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9790</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9790</guid>
        	        	<description><![CDATA[<blockquote>
<p>...</p>
<p>Actually you can look at jquery.searchFilter.js.</p>
<p>Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Thank you</p>
]]></description>
        	        	<pubDate>Wed, 16 Sep 2009 22:52:18 +0300</pubDate>
        </item>
        <item>
        	<title>gstoynev on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9789</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9789</guid>
        	        	<description><![CDATA[<blockquote>
<p>avagarwal said:</p>
<p>...</p>
<p>The grid complete function is utilized to set these values as search critera.</p>
<p>...</p>
</blockquote>
<hr />
<p>Are you talking about the advanced search? could you post your relevant comlete code.</p>
<p>Thanks</p></p>
]]></description>
        	        	<pubDate>Wed, 16 Sep 2009 22:45:14 +0300</pubDate>
        </item>
        <item>
        	<title>avagarwal on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9684</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9684</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>The way we are implementing this is to save the search parameters in session when ever a search is conducted. Then when the user returns to this page, we use the session value to filter the data and also return the values as user data in the json string. The grid complete function is utilized to set these values as search critera.</p>
<p>Thanks</p>
<p>Anurag</p>
]]></description>
        	        	<pubDate>Mon, 14 Sep 2009 00:17:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9663</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9663</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Actually you can look at jquery.searchFilter.js.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 13 Sep 2009 05:08:26 +0300</pubDate>
        </item>
        <item>
        	<title>gstoynev on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9651</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p9651</guid>
        	        	<description><![CDATA[<p>I also need this.,</p>
<p>Any suggestions as to where to "touch" to implement this?</p>
<p>Could you scatch the solution - willing to impleent.</p>
]]></description>
        	        	<pubDate>Sat, 12 Sep 2009 12:34:18 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8916</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8916</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Everything is possible <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" /></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 22 Aug 2009 02:40:28 +0300</pubDate>
        </item>
        <item>
        	<title>avagarwal on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8902</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8902</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>If we dig into the code, do you think this can be done?</p>
<p>Thanks</p>
<p>Anurag</p>
]]></description>
        	        	<pubDate>Fri, 21 Aug 2009 11:07:54 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8889</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8889</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Right now I understand what you mean. Sorry currently not possible.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 21 Aug 2009 03:58:37 +0300</pubDate>
        </item>
        <item>
        	<title>avagarwal on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8849</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8849</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>From my page I am passing back the search data parameters that were stored in the session in userdata as follows -</p>
<p>userdata { searchdata: [{field:firstname, op:bw, value:A}, {.....}] }</p>
<p>and can access the same in the gridComplete event.</p>
<p>How can I set these values back into the search form (multisearch:true), so that when the user presses the search button, the search parameters are already selected for him?</p>
</p>
<p>Thanks</p>
<p>Anurag</p>
]]></description>
        	        	<pubDate>Thu, 20 Aug 2009 21:28:58 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8619</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8619</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can use postData array for this purpose.</p>
<p>Store the the search parameters and then:</p>
<p>var stored_param = {}</p>
<p>stored_param = here your code to get these</p>
<p>...jqGrid({</p>
<p>...</p>
<p>postData: stored_param,</p>
<p>...</p>
<p>});</p>
<p>Do not forgaet maybe to add search:true in these parameters</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 15 Aug 2009 02:33:42 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8574</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8574</guid>
        	        	<description><![CDATA[<p>In 3.5, there is a new functionnality : <a href="/jqgrid/jqgrid.html" target="_blank">summary footer row</a> that uses a second array (userdata) in the json result. Maybe you could use something like this to store your search parameters ?</p>
<p>I don&#39;t know if you can access to the json array in the client side script, but maybe Tony could tell us&#8230;</p>
]]></description>
        	        	<pubDate>Fri, 14 Aug 2009 03:12:50 +0300</pubDate>
        </item>
        <item>
        	<title>avagarwal on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8569</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8569</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I would like to try and avoid using cookies and store the information in a session, is there any method to return back the search parameters as part of the JSON data string and populate it in load complete?</p>
<p>Thanks</p>
<p>Anurag</p>
]]></description>
        	        	<pubDate>Thu, 13 Aug 2009 21:33:28 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8546</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8546</guid>
        	        	<description><![CDATA[<p>This is what I do :</p>
<p><em>(seach parameters input id&#39;s always stats with "gs_")</em></p>
<p><span style="text-decoration: underline;">Save search parameters</span> ("memoriseFiltre" is a function that saves a cookie)</p>
<blockquote>
<p>var initialLoad = true;<br />jQuery("#mygrid").jqGrid({</p>
<p>...</p>
<p>loadComplete: function() {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // Save filters, but not when displaying the page for the first time<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (!initialLoad) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(document).find("[id^=&#39;gs_&#39;]").each( function() {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; memoriseFiltre($(this).attr(&#39;id&#39;), $(this).val());<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; initialLoad = false;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }</p>
<p>});</p>
</blockquote>
<p><span style="text-decoration: underline;">Get back search parameters </span>("recupereFiltre" is a function that gets a cookie value)</p>
<blockquote>
<p>// After creating the grid</p>
<p>var filterValue;</p>
<p>$(document).find("[id^=&#39;gs_&#39;]").each( function() {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filterValue= recupereFiltre($(this).attr(&#39;id&#39;));<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(this).val(filterValue);<br /> });</p>
</blockquote>
]]></description>
        	        	<pubDate>Thu, 13 Aug 2009 07:42:19 +0300</pubDate>
        </item>
        <item>
        	<title>avagarwal on Save Search Parameters</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8540</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-search-parameters#p8540</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Is it possible to save the search parameters in&#160; session or a cookie, so that next time the user comes back to the page the grid can be setup to display the previous results and also the search parameters are populated. We can keep track of the search parameters and use them to display the same data, but how can we populate them into the grid?</p>
<p>Thanks</p>
<p>Anurag</p>
]]></description>
        	        	<pubDate>Thu, 13 Aug 2009 06:27:53 +0300</pubDate>
        </item>
</channel>
</rss>