<?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: jQGrid Multiple Search Select Conditional Values</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiple-search-select-conditional-values</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/jqgrid-multiple-search-select-conditional-values/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>orian on jQGrid Multiple Search Select Conditional Values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiple-search-select-conditional-values#p22957</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-multiple-search-select-conditional-values#p22957</guid>
        	        	<description><![CDATA[<p>Hello, I am using the Multiple Search Option in my grid and currently I am using one select dropdown:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8800' value='Select Code' data-codeid='sfcode8800' /></p>
<div class='sfcode' id='sfcode8800'>jQuery(&#34;#list&#34;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;&#60;%= Html.ResolveUrl(&#34;~/ONECONTROLLER/LIST/&#34;) %&#62;&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;ONE&#39;, &#39;TWO&#39;, &#39;THREE&#39;, &#39;FOUR&#39;, &#39;FIVE&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ONE&#39;, index: &#39;ONE&#39;, width: 75, align: &#39;left&#39;, sortable: true, searchoptions: { sopt: [&#39;eq&#39;, &#39;ne&#39;, &#39;cn&#39;]} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;TWO&#39;, index: &#39;TWO&#39;, width: 75, align: &#39;center&#39;, sortable: true, searchoptions: { sopt: [&#39;eq&#39;, &#39;ne&#39;, &#39;cn&#39;]} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;THREE&#39;, index: &#39;THREE&#39;, width: 75, align: &#39;center&#39;, sortable: true, stype: &#39;select&#39;, searchoptions: { sopt: [&#39;eq&#39;, &#39;ne&#39;], dataUrl: &#39;&#60;%= Html.ResolveUrl(&#34;~/ONECONTROLLER/THREEVALUES/&#34;) %&#62;&#39;} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;FOUR&#39;, index: &#39;FOUR&#39;, width: 20, align: &#39;center&#39;, sortable: true, searchoptions: { sopt: [&#39;eq&#39;, &#39;ne&#39;, &#39;cn&#39;]} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;FIVE&#39;, index: &#39;FIVE&#39;, width: 20, align: &#39;center&#39;, sortable: true, searchoptions: { sopt: [&#39;eq&#39;, &#39;ne&#39;, &#39;cn&#39;]}}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 250,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [50, 75, 100, 200, 250],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; autowidth: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 350,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true</div>
<p>What I am trying to do is to add another select in the multiple search control, but I would like the values to be based off of the first selected value in this case "THREE".</p>
</p>
<p>So, if I add a multiple search condition of "THREE" and then add a second condition of "FOUR", this would be a cascaded dropdown based on the value of "THREE".</p>
</p>
<p>Possible? Thanks for the help!</p></p>
]]></description>
        	        	<pubDate>Wed, 27 Apr 2011 19:26:26 +0300</pubDate>
        </item>
</channel>
</rss>