<?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: How to add Custom Button to toppager_right? or toppager_center?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-custom-button-to-toppager_right-or-toppager_center</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/how-to-add-custom-button-to-toppager_right-or-toppager_center/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>psdev on How to add Custom Button to toppager_right? or toppager_center?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-custom-button-to-toppager_right-or-toppager_center#p24713</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-custom-button-to-toppager_right-or-toppager_center#p24713</guid>
        	        	<description><![CDATA[<p>Thanks for explaining that and the workaround. 🙂</p>
]]></description>
        	        	<pubDate>Thu, 22 Sep 2011 07:58:59 +0300</pubDate>
        </item>
        <item>
        	<title>shmeeps on How to add Custom Button to toppager_right? or toppager_center?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-custom-button-to-toppager_right-or-toppager_center#p24708</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-custom-button-to-toppager_right-or-toppager_center#p24708</guid>
        	        	<description><![CDATA[<p>Basically, the reason you can&#39;t is because the right half of the pager doesn&#39;t contain the table used to order the buttons, so it has no suitable place to anchor the buttons. It&#39;s a bad work around, but adding the line</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6535' value='Select Code' data-codeid='sfcode6535' /></p>
<div class='sfcode' id='sfcode6535'>$(&#34;#jqgrid_toppager_right&#34;).html(&#39;&#60;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; border=&#34;0&#34; style=&#34;float: right; table-layout: auto;&#34; class=&#34;ui-pg-table navtable&#34;&#62;&#60;tbody&#62;&#60;tr&#62;&#60;td style=&#34;width: 4px;&#34; class=&#34;ui-pg-button ui-state-disabled&#34;&#62;&#60;span class=&#34;ui-separator&#34;&#62;&#60;/span&#62;&#60;/td&#62;&#60;/tr&#62;&#60;/tbody&#62;&#60;/table&#62;&#39;);</div>
<p>will let you add buttons to theright half of the top pager. This creates the basic table inside of the right half, which will allow you to add buttons to it.</p>
]]></description>
        	        	<pubDate>Wed, 21 Sep 2011 18:23:04 +0300</pubDate>
        </item>
        <item>
        	<title>psdev on How to add Custom Button to toppager_right? or toppager_center?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-custom-button-to-toppager_right-or-toppager_center#p24442</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-custom-button-to-toppager_right-or-toppager_center#p24442</guid>
        	        	<description><![CDATA[<p>I&#39;m having trouble getting navButtonAdd to allow me to add a Custom Button to a cloned toppager to the rightmost div.&#160; It seems to work fine for toppager_left, but not for toppager_center or toppager_right.&#160;&#160;&#160; Can anyone provide any hints or links to how to add a custom button to the center or right div?</p>
</p>
<p>This is the code I use for adding the button to the pager:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3176' value='Select Code' data-codeid='sfcode3176' /></p>
<div class='sfcode' id='sfcode3176'>
<p>&#160;jQuery(&#34;#myTable&#34;).jqGrid(&#39;navButtonAdd&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;#myTable_toppager_left&#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;&#160;&#160; &#160;caption : &#34;Add New Item&#8230; &#34;, buttonicon : &#39;ui-icon-plus&#39;, id : &#34;btnAddNewItem&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;onClickButton : function()<br />&#160;&#160; &#160;&#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;&#160;&#160; &#160;&#160;&#160; &#160;addNewItemRow();<br />&#160;&#160; &#160;&#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>
</div>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Mon, 29 Aug 2011 04:05:51 +0300</pubDate>
        </item>
</channel>
</rss>