<?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 buttons on toolbar as per demo example!</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/no-buttons-on-toolbar-as-per-demo-example</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-buttons-on-toolbar-as-per-demo-example/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jnavratil on No buttons on toolbar as per demo example!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-buttons-on-toolbar-as-per-demo-example#p5127</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-buttons-on-toolbar-as-per-demo-example#p5127</guid>
        	        	<description><![CDATA[<p>Rest assured, this does work!&#160; My source&#160; may be a bit more than you want, but I will send it to you via email if you contact me at john(dot)navratil(at)sbcglobal(dot)net.</p>
<p>Assuming you have the grid working as you like, the navgrid options are what you need.&#160; Your HTML should include elements for both the grid and the pager (the navGrid), for example:</p>
<p>&#160; &#60;table id="grid" class="scroll"&#62;<br />&#160; &#60;/table&#62;<br />&#160; &#60;div id="pager" class="scroll" style="text-align:center;"&#62;<br />&#160; &#60;/div&#62;</p>
<p>You can chain the navgrid method after your jqGrid method call, like</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#grid").jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ... your grid options here ....<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }).<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; navGrid("#pager",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {refresh: true, edit: false, add: true, del: true, search: true},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; { // edit<br />&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; beforeSubmit: function() { alert(&#39;before edit submit&#39;); } <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; },<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; { // add<br />&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; beforeSubmit: function() { alert(&#39;before add submit&#39;); } <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; },<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; { // delete<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; beforeSubmit: function() { alert(&#39;before delete submit&#39;); } <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; );</p>
<p>Note:&#160; the navGrid method needs the id of the HTML element for the pager.&#160; The next argument specifies which buttons to attach.&#160; Here I do not have edit, but have selected add and deleted.&#160; Following that are options for the edit, the add and the delete button, respectively.</p>
<p>I&#39;m using jgQrid 3.4.&#160; If you have the latest pdf documentation, refer to page 69.&#160; It&#39;s the "Properties, Events and Methods" of the "Navigating" chapter.</p>
]]></description>
        	        	<pubDate>Thu, 05 Mar 2009 09:03:15 +0200</pubDate>
        </item>
        <item>
        	<title>jobin2009 on No buttons on toolbar as per demo example!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-buttons-on-toolbar-as-per-demo-example#p5116</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-buttons-on-toolbar-as-per-demo-example#p5116</guid>
        	        	<description><![CDATA[<p>I am very new to jqGrid.&#160; I have managed to get a jqGrid working on my localhost as per demos and examples. BUT... I have not been able to get the refresh, search or any of the other add, edit, delete buttons to show on my grid.</p>
<p>i have checked and re-checked all the Forums... but no luck</p>
<p>Is there a FULL CODE EXAMPLE (i.e.&#160; all the includes, html, the whole thing) someone can point me to?</p>
</p>
<p>Desperate.... deadline to meet.</p>
]]></description>
        	        	<pubDate>Wed, 04 Mar 2009 12:37:22 +0200</pubDate>
        </item>
</channel>
</rss>