<?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: different subGrids (select subGrid by Button)</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/different-subgrids-select-subgrid-by-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/different-subgrids-select-subgrid-by-button/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>evildead on different subGrids (select subGrid by Button)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/different-subgrids-select-subgrid-by-button#p14176</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/different-subgrids-select-subgrid-by-button#p14176</guid>
        	        	<description><![CDATA[<p>oh well, this is a good idea. I will have a try for this next week.</p>
</p>
<p>thanks tony</p></p>
]]></description>
        	        	<pubDate>Fri, 22 Jan 2010 15:54:59 +0200</pubDate>
        </item>
        <item>
        	<title>tony on different subGrids (select subGrid by Button)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/different-subgrids-select-subgrid-by-button#p14156</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/different-subgrids-select-subgrid-by-button#p14156</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Currently this is not possible, but one possible solution is to have set the variable &#39;mode&#39; visible to these methods (mybe global)&#160; and do this without to passing parameters to the <code><span style="color: #000000;">subGridRowExpanded.</span></code></p>
<p>I.e when you click the button which call the toggleSubGridRow to change the mode which is the visible to subGridRowExpanded.</p>
<p>Best Regsrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 22 Jan 2010 13:42:06 +0200</pubDate>
        </item>
        <item>
        	<title>evildead on different subGrids (select subGrid by Button)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/different-subgrids-select-subgrid-by-button#p14065</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/different-subgrids-select-subgrid-by-button#p14065</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I got a little trouble with subGrids. I want to display more then one subGrid in the main Grid.</p>
<p>Let me explain, what I mean.</p>
<p>The + Button is fine. If I click on it, my subGrids opens well. Lets say it is displaying the details subGrid.</p>
<p>I want to add another Button (already did), we call him comments. When this button is clicked it should open the comments subGrid, not the details.</p>
<p>The Button calls:</p>
<p>jQuery(&#39;#task&#39;).toggleSubGridRow(rowid);</p>
<p>The Problem I see so far is, I could only register one function in the</p>
<p><code><span style="color: #000000;">subGridRowExpanded:</span></code> Event.</p>
</p>
<p>Is there a way to set a variable like</p>
<p>jQuery(&#39;#task&#39;).toggleSubGridRow(rowid, mode);</p>
<p>and do an if &#8230; else &#8230; statement in the <code><span style="color: #000000;">subGridRowExpanded:</span></code>-Event function?</p>
</p>
<p>Something like this:</p>
</p>
<p>&#160;subGridRowExpanded: <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; function(subgrid_id, row_id, mode) { <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (mode==&#8221;comment&#8221;){</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; display comment subGrid&#8230;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; else{</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; display details subGrid&#8230;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>}&#160;&#160;</p>
<p>and if that is going to work, is there another way to do such thing?</p>
</p>
<p>regards</p></p>
]]></description>
        	        	<pubDate>Tue, 19 Jan 2010 23:25:06 +0200</pubDate>
        </item>
</channel>
</rss>