<?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: Dynamically Expand Subgrid in a loop - JQGrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dynamically-expand-subgrid-in-a-loop-jqgrid</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/dynamically-expand-subgrid-in-a-loop-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>adkan11 on Dynamically Expand Subgrid in a loop - JQGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamically-expand-subgrid-in-a-loop-jqgrid#p25099</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamically-expand-subgrid-in-a-loop-jqgrid#p25099</guid>
        	        	<description><![CDATA[<div class="post-text">
<p>Hi,</p>
</p>
<p>I have Grid with a subgrid using subGridRowExpanded.</p>
<p>And I want to dynamically expand some rows of the grid so I wrote following  in GridComplete Event of First Grid.</p>
</p>
<p>ids is array of row ids of my Grid</p>
<pre class="default prettyprint">&#160;</pre>
<pre class="default prettyprint">for(int i =0; i&#60; ids.length; i++) <br />$("#myGridName").expandSubGridRow(ids[i]);<br /></pre>
</p>
<p>Above code expands appropriate rows. But,</p>
<p>In GridComplete event of Subgrid, I&#39;ve check boxes in each row.</p>
<p>So, Here I need to check some of the Chekc boxes.</p>
<p>But the Problem is,</p>
<p>The subgrid_row_id is getting wrong</p>
<p>i.e. ID of last subgrid to be expanded is assigned in SubGridRowExpanded of Parent Grid.</p>
<p>Thanks in Advance.</p>
</div>
]]></description>
        	        	<pubDate>Tue, 08 Nov 2011 08:44:38 +0200</pubDate>
        </item>
</channel>
</rss>