<?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: 3.5 - Sub-Grid Questions</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/35-sub-grid-questions</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/35-sub-grid-questions/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on 3.5 - Sub-Grid Questions</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-sub-grid-questions#p7402</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-sub-grid-questions#p7402</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can provide additional field in the grid which tell the grid that there are no records in the subgrid, then you can unbind the click event of the plus in the subgrid row. See the form messages.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 02:35:38 +0300</pubDate>
        </item>
        <item>
        	<title>casperd on 3.5 - Sub-Grid Questions</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-sub-grid-questions#p7379</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-sub-grid-questions#p7379</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have sorted out point 2, but still need your help with point 1.</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Sun, 21 Jun 2009 10:27:52 +0300</pubDate>
        </item>
        <item>
        	<title>casperd on 3.5 - Sub-Grid Questions</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-sub-grid-questions#p7378</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-sub-grid-questions#p7378</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have two questions about the "grid as a sub-grid" feature:</p>
<p>1) If the sub-grid has no rows for a specifc record in the main grid, it will still display the column headers of the sub-grid. Is there a way of hiding the column headers if the sub-grid is empty?</p>
</p>
<p>2) I want to be able to dynamically set the subGrid property of my grid. But if I do that, the alignment and formatting of my grid goes off. Here&#39;s an extract of my code:</p>
<p>*--------------------------------*</p>
<p>if (document.getElementById("chkShow History").checked)</p>
<p>{</p>
<p>&#160;&#160; $("#tblReport").setGridParam({subGrid:true});</p>
<p>&#160;&#160; $("#tblReport").setGridParam({url:............}).trigger("reloadGrid");</p>
<p>}</p>
<p>else</p>
<p>{</p>
<p>&#160;&#160; $("#tblReport").setGridParam({subGrid:false});</p>
<p>&#160;&#160; $("#tblReport").setGridParam({url:............}).trigger("reloadGrid");</p>
<p>}</p>
<p>*--------------------------------*</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Sun, 21 Jun 2009 09:08:21 +0300</pubDate>
        </item>
</channel>
</rss>