<?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: Navigator option exceltext and pdftext</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/navigator-option-exceltext-and-pdftext</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/navigator-option-exceltext-and-pdftext/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>chridevo on Navigator option exceltext and pdftext</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navigator-option-exceltext-and-pdftext#p26532</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navigator-option-exceltext-and-pdftext#p26532</guid>
        	        	<description><![CDATA[<blockquote>
<p><span style="color: #000000;">I asked support for help on this issue and they pointed me to&#160;the php method setButtonOptions:</span></p>
</blockquote>
<blockquote>
<p><span style="color: #000000;">The solution is simple and looks like this:</span></p>
</blockquote>
<blockquote>
<p><span style="color: #000000;">$grid-&#62;setButtonOptions("excel",array("caption"=&#62;"Export to Excel","title"=&#62;"Export Excel"));</span></p>
</blockquote>
<blockquote>
<p><span style="color: #000000;">$grid-&#62;setButtonOptions("pdf",array("caption"=&#62;"Print to PDF","title"=&#62;"Print PDF"));&#160;</span></p>
</blockquote>
<blockquote>
</blockquote>
<hr />
]]></description>
        	        	<pubDate>Tue, 08 May 2012 02:03:48 +0300</pubDate>
        </item>
        <item>
        	<title>chridevo on Navigator option exceltext and pdftext</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navigator-option-exceltext-and-pdftext#p26497</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navigator-option-exceltext-and-pdftext#p26497</guid>
        	        	<description><![CDATA[<p>Hi, I would like to add text to the export to excel and export to PDF buttons that are enabled in jqgrid like this:</p>
<p>$grid-&#62;setNavOptions(&#39;navigator&#39;, array("excel"=&#62;true,"add"=&#62;false,"edit"=&#62;false,"del"=&#62;false,"view"=&#62;false, "search"=&#62;true, "searchtext"=&#62;"Search","pdf"=&#62;true, "cloneToTop"=&#62;true, "refreshtext"=&#62;"Refresh"));</p>
<p>Since the option is not documented (I have just logged a feature request in that forum) perhaps I can achieve what I want using a custom button with a caption? Can anyone help me with the onClickButton script please? I have tried:</p>
<p>$buttonoptions = array("#pager",&#160;array("caption"=&#62;"Custom Button", "onClickButton"=&#62;"js: function(){jQuery(&#39;#grid&#39;).jqGrid(&#39;excelExport&#39;)}"));</p>
<p>and many variations but my js skills are terrible.</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Wed, 02 May 2012 04:14:25 +0300</pubDate>
        </item>
</channel>
</rss>