<?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: Call Grid search with user values</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-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/call-grid-search-with-user-values/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jags on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28820</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28820</guid>
        	        	<description><![CDATA[<p>Yep, that worked perfectly. Thank you very much for all your help Oleg!</p>
]]></description>
        	        	<pubDate>Fri, 17 May 2013 13:25:53 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28819</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28819</guid>
        	        	<description><![CDATA[<p>Sorry, the correct link to the docomentation is <a href="/jqgridwiki/doku.php?id=wiki:advanced_searching#options" target="_blank">here</a>. If you need implement (id=1 OR id = 2) AND col2 = 456 then you should create subgroup with groupOp:"OR" and use groupOp:"AND" on the top level. See <a href="http://stackoverflow.com/a/13906292/315935" target="_blank">the answer</a> for the code example.</p>
]]></description>
        	        	<pubDate>Fri, 17 May 2013 12:53:34 +0300</pubDate>
        </item>
        <item>
        	<title>jags on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28818</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28818</guid>
        	        	<description><![CDATA[<p>Hmm&#8230;Is that link you gave working? It shows this same topic or do I miss something. But what I&#180;m trying to achieve is, that for example I have 2 grid columns and I want to filter them like this based on user selections:</p>
<p>(id=1 OR id = 2) AND col2 = 456</p>
</p>
<p>So for example the code could be if possible:</p>
<pre>f = {groupOp:"AND",rules:[]};<br />f.rules.push({field:"id",op:"eq",data:[1,2]});<br />f.rules.push({field:"col2",op:"eq",data:456});
</pre>
]]></description>
        	        	<pubDate>Fri, 17 May 2013 12:28:08 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28816</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28816</guid>
        	        	<description><![CDATA[<p><a href="/blog/?page_id=393/help/call-grid-search-with-user-values/#p28815" target="_blank">here</a>&#160;is described format of postData.</p>
<p>With</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9120' value='Select Code' data-codeid='sfcode9120' /></p>
<div class='sfcode' id='sfcode9120'>f.rules.push({field:&#34;id&#34;,op:&#34;eq&#34;,data:[id1,id2]});</div>
<p>you mean probably something like id=123 OR id=345.</p>
<p>You should just use groupOp: "OR" like I described in previously referenced answers.</p>
]]></description>
        	        	<pubDate>Fri, 17 May 2013 10:28:56 +0300</pubDate>
        </item>
        <item>
        	<title>jags on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28815</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28815</guid>
        	        	<description><![CDATA[<p>Where can I find some documentation about the filters option in postData? Is it possible to pass multiple values in data -property? For example:</p>
<pre>f.rules.push({field:"id",op:"eq",data:[id1,id2]});<br /><br />At least it didn&#180;t work for me....</pre>
]]></description>
        	        	<pubDate>Fri, 17 May 2013 10:20:19 +0300</pubDate>
        </item>
        <item>
        	<title>pankajpandey on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28708</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28708</guid>
        	        	<description><![CDATA[<p>Awesome, worked like a charm <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" />.</p>
<p>Thanks Oleg!</p>
</p>
<p>Regards,</p>
<p>Pankaj</p>
]]></description>
        	        	<pubDate>Tue, 23 Apr 2013 09:22:59 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28706</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28706</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>I posted many variation on the stackoverflow.com what can be done to do what you need. Look at <a href="http://stackoverflow.com/a/5750127/315935" target="_blank">the answer</a> or <a href="http://stackoverflow.com/a/5273385/315935" target="_blank">this one</a>&#160;for example.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 22 Apr 2013 15:34:36 +0300</pubDate>
        </item>
        <item>
        	<title>pankajpandey on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28705</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28705</guid>
        	        	<description><![CDATA[<p>Got below code from google. Can someone suggest how to use this with local data. I am loading the grid with loadonce=true and don&#39;t want to send the request back to the server.</p>
</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit3677' value='Select Code' data-codeid='sfcode3677' /></p><div class='sfcode' id='sfcode3677'>$(&#34;#search&#34;).click(function() {
    var searchFiler = $(&#34;#filter&#34;).val(), grid = $(&#34;#list&#34;), f;

    if (searchFiler.length === 0) {
        grid[0].p.search = false;
        $.extend(grid[0].p.postData,{filters:&#34;&#34;});
    }
    f = {groupOp:&#34;OR&#34;,rules:[]};
    f.rules.push({field:&#34;name&#34;,op:&#34;cn&#34;,data:searchFiler});
    f.rules.push({field:&#34;note&#34;,op:&#34;cn&#34;,data:searchFiler});
    grid[0].p.search = true;
    $.extend(grid[0].p.postData,{filters:JSON.stringify(f)});
    grid.trigger(&#34;reloadGrid&#34;,[{page:1,current:true}]);
});</div></pre>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit8297' value='Select Code' data-codeid='sfcode8297' /></p><div class='sfcode' id='sfcode8297'></div></pre>
]]></description>
        	        	<pubDate>Mon, 22 Apr 2013 15:30:02 +0300</pubDate>
        </item>
        <item>
        	<title>pankajpandey on Call Grid search with user values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28704</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/call-grid-search-with-user-values#p28704</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have a grid with some data in it. Based on certain values selected by User in other form, I have to call the multi Search of jqGrid. I have the column name/value pairs on which the search should be performed, but couldn&#39;t find a way to call the search on the grid with these arguments, similar to the way we do multi search from the Search toolbar.</p>
<p>Anyone has any suggestions?</p>
</p>
<p>Thanks!</p>
</p>
<p>Regards,</p>
<p>Pankaj</p></p>
]]></description>
        	        	<pubDate>Mon, 22 Apr 2013 14:19:59 +0300</pubDate>
        </item>
</channel>
</rss>