<?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: No such method: searchGrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/no-such-method-searchgrid</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/no-such-method-searchgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ExactInternet on No such method: searchGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-such-method-searchgrid#p18279</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-such-method-searchgrid#p18279</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I am implementing jqGrid for the first time in a PHP project I am working on and have come across a problem when trying to enable the search feature. I get an error message: "Uncaught Exception: jqGrid - No such method: searchGrid".</p>
</p>
<p>The code I&#39;m using is:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3048' value='Select Code' data-codeid='sfcode3048' /></p>
<div class='sfcode' id='sfcode3048'>&#160;&#160;&#160; &#60;script type=&#34;text/javascript&#34;&#62;<br />&#160;&#160; &#160;jQuery(document).ready(function(){ <br />&#160;&#160; &#160;&#160; jQuery(&#34;#accessLog&#34;).jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;url:&#39;datagrid.php&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#39;json&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;mtype: &#39;GET&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Employee Name&#39;,&#39;Access Level&#39;,&#39;Log In Time&#39;,&#39;Log Out Time&#39;,&#39;Days Since Last Log In&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;colModel :[ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:&#39;name&#39;, index:&#39;firstname&#39;, width: 200, search: true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:&#39;accesslevel&#39;, index:&#39;accesslevel&#39;}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:&#39;lastlogin&#39;, index:&#39;lastlogin&#39;}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:&#39;lastlogout&#39;, index:&#39;lastlogout&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:&#39;logindays&#39;, index:&#39;logindays&#39;} <br />&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#pager&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;height: 250,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowNum:10,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowList:[10,20,30],<br />&#160;&#160; &#160;&#160;&#160; &#160;sortname: &#39;firstname&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;sortorder: &#39;desc&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;width:900,<br />&#160;&#160; &#160;&#160; });<br />&#160;&#160; &#160;});<br />&#160;&#160; &#160;&#60;/script&#62;</div>
<p>I&#39;ve downloaded the grid base and additional methods for searching, but I may have not reference the search JS file properly? Ideally I would like to see the magnifiying glass type icon in the bottom left corner of some of the demo grids!</p>
</p>
<p>Any help would be be much appreciated!</p>
</p>
<p>Adam</p></p>
]]></description>
        	        	<pubDate>Tue, 29 Jun 2010 22:18:26 +0300</pubDate>
        </item>
</channel>
</rss>