<?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 hide parent grid multiselect column in row containing subgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-hide-parent-grid-multiselect-column-in-row-containing-subgrid</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-hide-parent-grid-multiselect-column-in-row-containing-subgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>seph on How to hide parent grid multiselect column in row containing subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-hide-parent-grid-multiselect-column-in-row-containing-subgrid#p28023</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-hide-parent-grid-multiselect-column-in-row-containing-subgrid#p28023</guid>
        	        	<description><![CDATA[<p>I know this is an old post, but I was having this problem as well. Here is how I solved it:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2224' value='Select Code' data-codeid='sfcode2224' /></p>
<div class='sfcode' id='sfcode2224'>subGridRowExpanded: function (subgrid_id, row_id)<br />{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var id = &#34;#jqg_YOURTABLE_&#34; + row_id;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $($($(id).parent().parent()[0].nextElementSibling)[0].firstChild).hide();<br />}</div>
]]></description>
        	        	<pubDate>Tue, 15 Jan 2013 19:14:09 +0200</pubDate>
        </item>
        <item>
        	<title>vproman on How to hide parent grid multiselect column in row containing subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-hide-parent-grid-multiselect-column-in-row-containing-subgrid#p23242</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-hide-parent-grid-multiselect-column-in-row-containing-subgrid#p23242</guid>
        	        	<description><![CDATA[<p>I have multiselect:true and used hideCol(&#39;cb&#39;) to hide the checkbox column.</p>
<p>I also have a Grid within a Subgrid setup.</p>
<p>The problem is, when I click the plus to open the subgrid, there is still an extra column that acts as "padding" in the subgrid row so that it lines up with the checkbox column in the parent grid.&#160; Since the checkbox column in the parent grid is hidden though, the subgrid ends up getting pushed ever further right.</p>
<p>This is what the&#160;subgrid with three columns looks like, when below a parent grid with 3 columns, the "plus" column and no multiselect (checkbox) column:&#160;</p>
<p>&#60;tr class="ui-subgrid" role="row"&#62;<br />&#60;TD colSpan=1&#62;&#38;nbsp;&#60;/TD&#62;<br />&#60;TD class="ui-widget-content subgrid-cell"&#62;&#60;SPAN class="ui-icon ui-icon-carat-1-sw"&#62;&#60;/SPAN&#62;&#60;/TD&#62;<br />&#60;TD class="ui-widget-content subgrid-data" colSpan=3&#62;</p>
<p>...<br />&#60;/TD&#62;</p>
</p>
<p>Notice the "&#60;TD colSpan=1&#62;..."&#160; If I turn multiselect off, that extra column does not appear.</p>
<p>Any ideas?&#160; That TD has no name or class associated with it.&#160; It is always the first child of rows that are class "ui-subgrid".&#160; If I could hide this column I&#39;d be all set.</p>
]]></description>
        	        	<pubDate>Thu, 19 May 2011 03:35:20 +0300</pubDate>
        </item>
</channel>
</rss>