<?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 the Grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/passing-parameters-to-the-grid</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/passing-parameters-to-the-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Passing Parameters to the Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/passing-parameters-to-the-grid#p13743</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/passing-parameters-to-the-grid#p13743</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Is your button search custom or integraded on the pager?</p>
<p>If you button is custom you can use setGridParam and pass the needed values to postData arrray</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6294' value='Select Code' data-codeid='sfcode6294' /></p>
<div class='sfcode' id='sfcode6294'>
<p>$("#mybutton").click(function(){</p>
<p>$("#mygrid").setGridParam({postData:{item1:val1....});</p>
<p>// do a serch here</p>
<p>});</p>
</div>
<p>If you use the integraded search button on pager use the beforeShowSearch event and do the same with the posData</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 10 Jan 2010 13:09:01 +0200</pubDate>
        </item>
        <item>
        	<title>bfancett on Passing Parameters to the Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/passing-parameters-to-the-grid#p13693</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/passing-parameters-to-the-grid#p13693</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>Fri, 08 Jan 2010 17:44:24 +0200</pubDate>
        </item>
</channel>
</rss>