<?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: passing parameters to jqGrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/passing-parameters-to-jqgrid</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/jqgrid-roadmap/passing-parameters-to-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on passing parameters to jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/passing-parameters-to-jqgrid#p18352</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/passing-parameters-to-jqgrid#p18352</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>You can use <strong>postData</strong> to give parameters which will be appended to the url before the request. To make no request at the page start you can set <strong>datatype</strong> parameter&#160;to &#39;local&#39; at the beginning. After user click in the "search" button you can change <strong>datatype</strong>&#160;parameter&#160;to &#39;json&#39; and page to 1&#160;with respect of <em>setGridParam()</em>&#160;and then call <em>trigger(&#39;reloadGrid&#39;)</em>. You can set more additional jqGrid parameters on the same way. Before call of &#160;<em>trigger(&#39;reloadGrid&#39;)</em>&#160;you can optionally do some additional work like setting grid title with respect of <em>setCaption(&#39;A text&#39;)</em> jqGrid method. If you don&#39;t want to display jqGrid before the first click of the "search" button you can place jqGrid inside of a div with "display:none;" CSS style and use jQuery function show() to make the div visible if needed.</p>
<p>A code example you find in my answer on stackoverflow:</p>
<p><a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://stackoverflow.com/questions/2928371/how-to-filter-the-jqgrid-data-not-using-the-built-in-search-filter-box/2928819#2928819&#39;);" href="http://stackoverflow.com/questions/2928371/how-to-filter-the-jqgrid-data-not-using-the-built-in-search-filter-box/2928819#2928819" target="_blank"></a><a href="http://stackoverflow.com/quest" rel="nofollow" target="_blank">http://stackoverflow.com/quest</a>.....19#2928819</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 01 Jul 2010 13:54:27 +0300</pubDate>
        </item>
        <item>
        	<title>Tim on passing parameters to jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/passing-parameters-to-jqgrid#p13796</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/passing-parameters-to-jqgrid#p13796</guid>
        	        	<description><![CDATA[<p>Why not refactor the grid into a partial and load it via ajax when the user fills out the form fields and clicks submit</p>
]]></description>
        	        	<pubDate>Tue, 12 Jan 2010 16:53:12 +0200</pubDate>
        </item>
        <item>
        	<title>bfancett on passing parameters to jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/passing-parameters-to-jqgrid#p13664</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/passing-parameters-to-jqgrid#p13664</guid>
        	        	<description><![CDATA[<p>I have implemented the jQuery Grid into my ASP.NET MVC application, and have seen numerous examples on how to load the grid in the documet.ready function, however I need to do it otherwise.</p>
</p>
<p>I need to show the grid after the user has entered some information in a couple (2) textboxes and then clicked a button (search).&#160; The jQuery Grid will display the results of the search.&#160; This is impossible to do though without being able to pass these 2 parameters into the grid so that when it goes to the url &#39;MSF/DynamicGridData/&#39; along with the sortname, sort order, page, etc., parameters it also passes in the values from my 2 textboxes.</p>
<p>I haven&#39;t got a clue how to do this, but it seems that I Grid for displaying data wouldn&#39;e be much good if it didn&#39;t take parameters somehow.&#160;</p>
<p>Please help!</p>
<p>Thanks,</p>
<p>Brian</p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 20:54:35 +0200</pubDate>
        </item>
</channel>
</rss>