<?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: Grid As Subgrid +Custom Button</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-as-subgrid-custom-button</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/grid-as-subgrid-custom-button/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>p2pow350 on Grid As Subgrid +Custom Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-as-subgrid-custom-button#p24797</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-as-subgrid-custom-button#p24797</guid>
        	        	<description><![CDATA[<p>Please, someone take the example&#160;Advanced-&#62;Grid as Subgrid and try a simple copy&#38;paste.</p>
</p>
<p>In the example page I can see the following code:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1375' value='Select Code' data-codeid='sfcode1375' /></p>
<div class='sfcode' id='sfcode1375'>jQuery(&#34;#&#34;+subgrid_table_id).jqGrid(&#39;navGrid&#39;,&#34;#&#34;+pager_id,{edit:false,add:false,del:false})</div>
</p>
<p>If I need to enable the Add button to the Bar I expect to write:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7974' value='Select Code' data-codeid='sfcode7974' /></p>
<div class='sfcode' id='sfcode7974'>jQuery(&#34;#&#34;+subgrid_table_id).jqGrid(&#39;navGrid&#39;,&#34;#&#34;+pager_id,{edit:false,add:true,del:false})</div>
</p>
<p>But if you try yourself you will find that it doesn&#39;t work...</p>
<p>My question is: how to work on the top bar for a subgrid?</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Mon, 03 Oct 2011 20:38:17 +0300</pubDate>
        </item>
        <item>
        	<title>p2pow350 on Grid As Subgrid +Custom Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-as-subgrid-custom-button#p24764</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-as-subgrid-custom-button#p24764</guid>
        	        	<description><![CDATA[<p>In the example I can see the following code:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7510' value='Select Code' data-codeid='sfcode7510' /></p>
<div class='sfcode' id='sfcode7510'>jQuery(&#34;#&#34;+subgrid_table_id).jqGrid(&#39;navGrid&#39;,&#34;#&#34;+pager_id,{edit:false,add:false,del:false})</div>
</p>
<p>If I try to enable any feature like Add (add:true) there is no difference in the Top pager...so even the example is not referring correctly to the topbar, please how this can be done clearly?</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Thu, 29 Sep 2011 11:38:57 +0300</pubDate>
        </item>
        <item>
        	<title>p2pow350 on Grid As Subgrid +Custom Button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-as-subgrid-custom-button#p24763</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-as-subgrid-custom-button#p24763</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>starting from the working example listed in the Jqgrid Demos Advanced-&#62;Grid as Subgrid and actually copied it for this test, how to add a custom button?</p>
<p>It&#39;s hours I&#39;m trying with different combinations but I&#39;m not able to place a custom button in the Top Pager.</p>
<p>I can succesfully add a custom botton in the main grid, but I&#39;m not able to reference the Top Pager for the Subgrid.</p>
<p>How to refer to inside grid correctly?</p>
<p>I&#39;m using really as code base the Example in the Grid&#160;</p>
<p>Thanks</p>
<p>My code (last attempts copy&#38;paste....there are many attempts):</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1286' value='Select Code' data-codeid='sfcode1286' /></p>
<div class='sfcode' id='sfcode1286'>
<p>//remove pager button from TOP (WORKING)</p>
<p>var topPagerDiv = $(&#39;#&#39; + subgrid_table_id + &#39;_toppager&#39;)[0];</p>
<p>$(&#34;#&#34; + subgrid_table_id + &#34;_toppager_center&#34;, topPagerDiv).remove();</p>
<p>$(&#34;.ui-paging-info&#34;, topPagerDiv).remove();</p>
</p>
<p>//NOT WORKING</p>
<p>$(&#39;#&#39; + subgrid_table_id).jqGrid(&#39;navButtonAdd&#39;, topPagerDiv + &#39;_left&#39;, {</p>
<p>caption: &#34;Print Grid&#34;,</p>
<p>buttonicon: &#39;ui-icon-print&#39;,</p>
<p>position:&#34;last&#34;,</p>
<p>onClickButton: function() {</p>
<p>print_grid();</p>
<p>}</p>
<p>});</p>
</div>
]]></description>
        	        	<pubDate>Thu, 29 Sep 2011 11:26:38 +0300</pubDate>
        </item>
</channel>
</rss>