<?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: Search Button missing</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing</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/search-button-missing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kspeakman on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5567</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5567</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I completely agree. I&#39;m sure you didn&#39;t know what you were signing up for when you first posted jqGrid for others to use. 🙂</p>
<p>I think you&#39;ve been doing a great job, especially for working in your "spare time". It&#39;s probably more like a second full-time job you don&#39;t get paid for.</p>
<p>By the way, I&#39;m working on a new search form for jqGrid where you can add multiple parameters. I don&#39;t know if you&#39;d be interested in it, but I&#39;d be pleased to offer it for integration into jqGrid releases, when it&#39;s finished.</p>
<p>Kasey</p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 10:25:16 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5485</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5485</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for the recommendation. As I say writting professional documentation is not so easy. We will try to make it better.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 21 Mar 2009 11:26:10 +0200</pubDate>
        </item>
        <item>
        	<title>kspeakman on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5443</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5443</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I finally found where it indirectly says these files are required for buttons in the documentation.</p>
<p><span style="color: #800000;">First, there&#39;s the Navigating page, which says:</span></p>
<blockquote>
<p><span style="color: #800000;">To use this feature we need to enable form editing. For more information refer to Installation.</span></p>
</blockquote>
<p><span style="color: #800000;">Then Installation says:</span></p>
<blockquote>
<ul>
<li><em><span style="color: #800000;">grid.formedit.js</span></em><span style="color: #800000;">&#160;a plugin used for&#160;</span><span style="color: #800000;">form editing</span><span style="color: #800000;">, including adding and deleting data.<br /></span></li>
<li><em><span style="color: #800000;">jqModal.js</span></em><span style="color: #800000;">&#160;a plugin used for form editing (modal dialogs)<br /></span></li>
<li><em><span style="color: #800000;">jqDnR.js</span></em><span style="color: #800000;">&#160;a plugin used for form editing (drag and resize)</span></li>
</ul>
</blockquote>
<p><span style="color: #800000;">And also later says:</span></p>
<blockquote>
<p><span style="color: #800000;">If you plan to use the form editing module you should include&#160;</span><em><span style="color: #800000;">jqModal.js</span></em><span style="color: #800000;">,&#160;</span><em><span style="color: #800000;">jqDnR.js</span></em><span style="color: #800000;">&#160;and&#160;</span><em><span style="color: #800000;">jqModal.css</span></em><span style="color: #800000;">&#160;files in your html page.</span></p>
</blockquote>
<p><span style="color: #000080;">However, it would have been much more helpful if the Navigating page documentation had instead said:</span></p>
<blockquote>
<p><span style="color: #000080;">To use this feature we need to include jqModal.js, jqDnR.js, jqModal.css, and grid.formedit.js.</span></p>
</blockquote>
<p>That&#39;s all it would have taken. It would have been just as much text in Navigating to specify the files by name, and much less cross reference for the reader. This thing is complicated to integrate already. All the cross-reference to figure things out doesn&#39;t help.</p>
<p>That and for someone who&#39;s already decided that the user should not be able to edit the data, when I see &#8220;form editing&#8221;, I tend to ignore that line when reading the docs, thinking that it doesn&#39;t apply to me. That&#39;s why I missed it.</p>
<p>I think the documentation change mentioned above would save you some questions (and therefore time).</p>
<p>Thanks,</p>
<p>Kasey</p>
]]></description>
        	        	<pubDate>Thu, 19 Mar 2009 09:55:03 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5148</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5148</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It is a good idea first to start with docs from beginning. All is described here.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 06 Mar 2009 00:34:48 +0200</pubDate>
        </item>
        <item>
        	<title>kspeakman on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5093</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5093</guid>
        	        	<description><![CDATA[<p>Using google, I found from a comment on a release post that I needed to include jqDnR.js and jqModal.js. Including those two made the stock button show up (Refresh, Search, etc.), as well as the custom button that I had added.</p>
<p>I didn&#39;t realize that DnR and Modal were required for that functionality. I also looked for them in jquery.jqGrid.js, but they were not listed as modules.</p>
<p>I still have that pesky Warning box but I&#39;ll see what I can find out about that.</p>
<p>Kasey</p>
]]></description>
        	        	<pubDate>Tue, 03 Mar 2009 15:39:29 +0200</pubDate>
        </item>
        <item>
        	<title>kspeakman on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5091</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5091</guid>
        	        	<description><![CDATA[<p>I can&#39;t get a custom button added either. When I try, a dialog box shows up below the grid that says:</p>
<p>Warning<br />Please, select row</p>
<p>The dialog box is not draggable, not closeable, but it indicates both (move cursor and close button). There&#39;s also a JS error. Here it is from Firebug:</p>
<p>jQuery(a).jqDrag is not a function <a href="http://localhost:1598/MyData/jqGrid/js/min/grid.common-min.js" rel="nofollow" target="_blank"><a href="http://localhost:1598/MyData/j" rel="nofollow">http://localhost:1598/MyData/j</a>.....mon-min.js</a> Line 6</p>
<p>Stack Trace:<br /> DnRModal("#alertmod", "#alerthd")grid.com...on-min.js (line 6)<br /> searchGrid()()grid.for...it-min.js (line 6)<br /> init()(Object 0=table#gridMasterASSESS.scroll length=1, function(), undefined)jquery-1.3.min.js (line 12)<br /> init()(function(), undefined)jquery-1.3.min.js (line 12)<br /> searchGrid()("#gridPagerASSESS", Object edit=true editicon=row_edit.gif add=true, undefined, undefined, undefined, undefined)grid.for...it-min.js (line 6)<br /> receiveColumnModel(Object)MyDataFile.js (line 127)<br /> onComplete()ScriptRe...=475b88c8 (line 5492)<br /> (?)()()ScriptRe...=475b88c8 (line 2399)<br /> Sys$Net$WebRequest$completed(Object)ScriptRe...=475b88c8 (line 5103)<br /> (?)()()ScriptRe...=475b88c8 (line 4721)<br />[Break on this error] var showModal=function(a){a.w.show()};va...ace(/&#60;/g,"&#38;lt;").replace(/"/g,"&#38;quot;")}</p>
<p>Could this be a timing issue between the grid doing all its initialization tasks and the first data request (since I&#39;m using function datatype instead of json)?</p>
]]></description>
        	        	<pubDate>Tue, 03 Mar 2009 15:29:21 +0200</pubDate>
        </item>
        <item>
        	<title>kspeakman on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5088</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5088</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thanks for the response.</p>
<p>I do have this line in the jquery.jqGrid.js under modules:</p>
<p>&#160;&#160; &#160; &#160; &#160;{ include: true, incfile:&#39;grid.formedit.js&#39;,minfile: &#39;min/grid.formedit-min.js&#39; }, // jqGrid Form editing</p>
<p>Is there something more that I need to do?</p>
<p>I recently upgraded to 3.4.2, but the find button didn&#39;t show in the older version either. I had other issues to deal with (getting jqGrid and .NET integrated), so I haven&#39;t worried about it until now.</p>
<p>I might be willing to settle for adding a custom find button, since I need to be able to search multiple fields anyway. I&#39;ll try adding a custom button and see if that works.</p>
<p>Thanks,</p>
<p>Kasey</p></p>
]]></description>
        	        	<pubDate>Tue, 03 Mar 2009 10:20:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5072</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5072</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Do you have included grid.formedit.js in head section or in the loader?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 03 Mar 2009 03:50:09 +0200</pubDate>
        </item>
        <item>
        	<title>kspeakman on Search Button missing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5061</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-button-missing#p5061</guid>
        	        	<description><![CDATA[<p>I&#39;m using a function as the dataType so that I can integrate with .NET Web Services.</p>
<p>This works fine and displays data, and the paging functions work, but the <span style="color: #800000;">Search and Refresh buttons are missing</span> from the pager. None of the examples specifically show how to make it display (yet it shows up on the page), so I figured it was shown by default. But it&#39;s not there on my grid.</p>
<p>I can&#39;t figure out how to make it display. I tried doing:</p>
<p>jQuery("#grid").navGrid("#pager", { search: true });</p>
<p>But that doesn&#39;t work (shows a strange dialog and gives a JavaScript error).</p>
<p>Here&#39;s the simplified JS of my grid:</p>
<p>&#160;&#160; &#160;jQuery("#grid").jqGrid({<br />&#160;&#160; &#160; &#160; &#160;datatype: function(postData) {<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;MyNameSpace.MyService.GetFileData(postData, function(response){<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$("#grid")[0].addJSONData(response);<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;});<br />&#160;&#160; &#160; &#160; &#160;},<br />&#160;&#160; &#160; &#160; &#160;cellEdit: false,<br />&#160;&#160; &#160; &#160; &#160;height: &#39;auto&#39;,<br />&#160;&#160; &#160; &#160; &#160;colNames: ["dl_id","line","col1","col2","col3"],<br />&#160;&#160; &#160; &#160; &#160;colModel: [<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;{align:&#39;&#39;,hidden:true,index:&#39;dl_id&#39;,name:&#39;dl_id&#39;,sortable:false,width:0},<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;{align:&#39;&#39;,hidden:false,index:&#39;line&#39;,name:&#39;line&#39;,sortable:true,width:52},<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;{align:&#39;&#39;,hidden:false,index:&#39;col1&#39;,name:&#39;col1&#39;,sortable:true,width:70},<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;{align:&#39;&#39;,hidden:false,index:&#39;col2&#39;,name:&#39;col2&#39;,sortable:true,width:70},<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;{align:&#39;&#39;,hidden:false,index:&#39;col3&#39;,name:&#39;col3&#39;,sortable:true,width:70}<br />&#160;&#160; &#160; &#160; &#160;],<br />&#160;&#160; &#160; &#160; &#160;imgpath: &#39;jqGrid/themes/sand/images&#39;,<br />&#160;&#160; &#160; &#160; &#160;pager: &#39;pager&#39;,<br />&#160;&#160; &#160; &#160; &#160;viewrecords: true,<br />&#160;&#160; &#160; &#160; &#160;rowNum: 10,<br />&#160;&#160; &#160; &#160; &#160;rowList: [10, 20, 30],<br />&#160;&#160; &#160; &#160; &#160;sortname: &#39;line&#39;,<br />&#160;&#160; &#160; &#160; &#160;sortorder: &#39;asc&#39;,<br />&#160;&#160; &#160; &#160; &#160;caption: "Data"<br />&#160;&#160; &#160;});</p>
<p>The response object in the code above looks like this:</p>
<p>{    total: <span class="codestring">"xxx"</span>,    page: <span class="codestring">"yyy"</span>,    records: <span class="codestring">"zzz"</span>,   rows : [     {id:<span class="codestring">"1"</span>, cell:[<span class="codestring">"cell11"</span>, <span class="codestring">"cell12"</span>, <span class="codestring">"cell13"</span>]},     {id:<span class="codestring">"2"</span>, cell:[<span class="codestring">"cell21"</span>, <span class="codestring">"cell22"</span>, <span class="codestring">"cell23"</span>]},       ...   ] }</p>
]]></description>
        	        	<pubDate>Mon, 02 Mar 2009 17:56:08 +0200</pubDate>
        </item>
</channel>
</rss>