<?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: Can I use code to "click" the Find button?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/can-i-use-code-to-click-the-find-button</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/can-i-use-code-to-click-the-find-button/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Tony on Can I use code to "click" the Find button?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/can-i-use-code-to-click-the-find-button#p22040</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/can-i-use-code-to-click-the-find-button#p22040</guid>
        	        	<description><![CDATA[<p>I&#160;purchased a paid-support incident and&#160;sent&#160;an e-mail&#160;over about 30 min ago.&#160; That should have most, if not all, of the details.</p>
<p>Thanks for your response!&#160; I know I could have waited to get help here, but for all the times I have used the grid over the years, you deserve some payment from me.&#160; <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Thu, 10 Feb 2011 19:29:15 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Can I use code to "click" the Find button?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/can-i-use-code-to-click-the-find-button#p22039</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/can-i-use-code-to-click-the-find-button#p22039</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>To this button already we have a click event attached. What is the goal?</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 10 Feb 2011 18:59:10 +0200</pubDate>
        </item>
        <item>
        	<title>Tony on Can I use code to "click" the Find button?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/can-i-use-code-to-click-the-find-button#p22034</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/can-i-use-code-to-click-the-find-button#p22034</guid>
        	        	<description><![CDATA[<p>When you use the pager&#39;s search button to open up the multi-criteria search/filter dialog, there is a "find" button in the lower, right-hand corner.&#160; I can find the &#60;span&#62; element that renders this button, but I can not find a way to call the click event of this button.</p>
<p>This code here works on the pager to open the search/filter dialog:</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit7533' value='Select Code' data-codeid='sfcode7533' /></p><div class='sfcode' id='sfcode7533'>$(&#39;#AccountPager&#160;.ui-icon-search&#39;).click();</div></pre>
</p>
<p>But the following, similar code does not work to click the find button (which has the same class):</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit1078' value='Select Code' data-codeid='sfcode1078' /></p><div class='sfcode' id='sfcode1078'>$(&#39;#fbox_AccountGrid&#160;.ui-icon-search&#39;).click();</div></pre>
</p>
<p>I have tried this:</p>
</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit7958' value='Select Code' data-codeid='sfcode7958' /></p><div class='sfcode' id='sfcode7958'>$(&#39;#fbox_AccountGrid&#39;).searchFilter().search();</div></pre>
</p>
<p>But it does not appear to actually do anything, even though I know my filters are all there.&#160; When I use Fiddler to watch the communications with the server, this line of code never initiates the expected refresh/update.</p>
<p>I found the actual code I want to call in jquery.searchFilter.js, starting with line 415.&#160; That led me to try the following two options:</p>
</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit2134' value='Select Code' data-codeid='sfcode2134' /></p><div class='sfcode' id='sfcode2134'>$(&#39;#fbox_AccountGrid&#39;).find(&#39;.ui-search&#39;).click();</div><p><input type='button' class='sfcodeselect' name='sfselectit4365' value='Select Code' data-codeid='sfcode4365' /></p><div class='sfcode' id='sfcode4365'><br />$(&#39;#fbox_AccountGrid&#160;.ui-search&#39;).click();</div></pre>
</p>
<p>But these didn&#39;t work either.&#160; I feel like I am so close!&#160; Anyone see what I am missing here?</p>
</p>
<p>TIA</p>
<pre><br /></pre>
]]></description>
        	        	<pubDate>Thu, 10 Feb 2011 18:14:22 +0200</pubDate>
        </item>
</channel>
</rss>