<?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 get ParentRowId of Parent Grid in subgrid?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-parentrowid-of-parent-grid-in-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-get-parentrowid-of-parent-grid-in-subgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>hsantoki on How to get ParentRowId of Parent Grid in subgrid?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-parentrowid-of-parent-grid-in-subgrid#p24329</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-parentrowid-of-parent-grid-in-subgrid#p24329</guid>
        	        	<description><![CDATA[<p>Hi,<br />My code is like below;<br />&#8230;.<br />&#60;ClientSideEvents AfterEditDialogShown="populateFields" AfterAddDialogShown="populateFields" /&#62;<br />&#8230;.</p>
<p>&#60;script type="text/javascript"&#62;<br />// This function gets called whenever an add/edit dialog is opened<br />&#160;function populateFields() {<br />&#160;&#160;$("#FieldName")<br />&#160;&#160;&#160;.html("&#60;option value=&#39;&#39;&#62;Loading objects...&#60;/option&#62;")<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .attr("disabled", "disabled");</p>
<p>&#160;&#160;$.ajax({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;url: document.URL + "?drp=drpField",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; type: "GET",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; success: function (objectHtml) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#FieldName")<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;.removeAttr("disabled")<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .html(objectHtml);<br />&#160;&#160;&#160;}<br />&#160;&#160;});<br />&#160;}<br />&#60;/script&#62;</p>
<p>Here in javascript I need to pass primary row id of the parent grid.</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Wed, 17 Aug 2011 23:58:21 +0300</pubDate>
        </item>
</channel>
</rss>