<?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: Parent Id when AddEdit in Subgrid is clicked</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/parent-id-when-addedit-in-subgrid-is-clicked</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/parent-id-when-addedit-in-subgrid-is-clicked/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dikrid on Parent Id when AddEdit in Subgrid is clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/parent-id-when-addedit-in-subgrid-is-clicked#p29221</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/parent-id-when-addedit-in-subgrid-is-clicked#p29221</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I could solve it.</p>
<p>I expanded the colModel with a parentid row and used subGridRowExpanded to add the value from the parent row to the parentid row in the subgrid.</p>
<p>So I tried and finally came up with the edittype: select and I built the variable previously in the format value:value</p>
<p>Phew, I am glad I got it working.</p>
<p>Thanks anyway. Have a nice weekend.</p>
<p>dikrid</p>
]]></description>
        	        	<pubDate>Fri, 26 Jul 2013 10:46:32 +0300</pubDate>
        </item>
        <item>
        	<title>dikrid on Parent Id when AddEdit in Subgrid is clicked</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/parent-id-when-addedit-in-subgrid-is-clicked#p29219</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/parent-id-when-addedit-in-subgrid-is-clicked#p29219</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I searched and tried everything to get it solved but I cannot find a way to do, that&#39;s why I would really ask for your help:</p>
<p>I have a grid that contains a subgrid. The subgrid opens on every row in the grid (+ sign):</p>
<p>+ Test</p>
<p>&#160;&#160;&#160; -&#160; SubEntry1</p>
<p>&#160;&#160;&#160; - SubEntry2</p>
<p>+ Test2</p>
<p>&#160;&#160;&#160; - SubEntryB1</p>
<p>&#160;&#160;&#160; - SubEntryB2</p>
</p>
<p>Now when I click on Add in one of the subgrids I want to pass the parent id to the controller action. Now you will say, use the event &#39;subGridRowExpanded&#39;, but here&#39;s the problem:</p>
<p>Imagine I expand both lines, &#39;Test&#39; and &#39;Test2&#39; and click afterwards on &#39;Add&#39; in Subgrid within &#39;Test2&#39;. Now you don&#39;t know which subgrid was expanded last. You can expand Test, then Test2, and open &#39;Add&#39; in Test but the id of Test2 would have been saved last in subGridRowExpanded.</p>
<p>Is there another way? So that I can maybe find out the rowid of the +-sign? I can&#39;t imagine a solution right but maybe add a comboBox in the add-dialogue to choose one of the ids, but I assumed that this is not necessary, because I clicked one of the subgrids within the specified row.</p>
<p>Any help would be kindly appreciated.</p>
<p>thanks,</p>
<p>dikrid</p>
]]></description>
        	        	<pubDate>Fri, 26 Jul 2013 09:21:57 +0300</pubDate>
        </item>
</channel>
</rss>