<?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: post data is not beig sent when using grid as subgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-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/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on post data is not beig sent when using grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p14128</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p14128</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>As of your source the id of the grid is</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8075' value='Select Code' data-codeid='sfcode8075' /></p>
<div class='sfcode' id='sfcode8075'>
<p>jQuery(&#8221;#&#8221; + subgrid_table_id).jqGrid({...});</p>
</div>
<p>and not</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5759' value='Select Code' data-codeid='sfcode5759' /></p>
<div class='sfcode' id='sfcode5759'>
<p>jQuery(&#8221;#t_&#8221; + subgrid_table_id).getGridParam(&#39;selarrrow&#39;);</p>
</div>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 22 Jan 2010 10:48:56 +0200</pubDate>
        </item>
        <item>
        	<title>vpatil on post data is not beig sent when using grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p14080</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p14080</guid>
        	        	<description><![CDATA[<p>I figured out the doubleclick issue.. it was my mistake I had key:true in the definition for the 1st column..</p>
</p>
<p>Still havent found the issue with click event.. I check the innerhtml and outerhtml of jQuery(&#8221;#t_&#8221; + subgrid_table_id) it shows only the div for the toolbar.. the rest of the tables are not there</p>
]]></description>
        	        	<pubDate>Wed, 20 Jan 2010 18:39:32 +0200</pubDate>
        </item>
        <item>
        	<title>vpatil on post data is not beig sent when using grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p14078</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p14078</guid>
        	        	<description><![CDATA[<p>Thanks!! that worked..</p>
</p>
<p>I have another question.. I am trying to add a double click event and a button in toolbar for the subgrid..</p>
<p>In the double click event the row_id does not contain the row id but has the first column value for the row.</p>
<p>&#160;for the click event of the button in the toolbar, I dont get the selarrrow usinmg the getGridParam</p>
<p>var gr = jQuery("#t_" + subgrid_table_id).getGridParam(&#39;selarrrow&#39;); here the gr remains undefined</p>
]]></description>
        	        	<pubDate>Wed, 20 Jan 2010 14:43:55 +0200</pubDate>
        </item>
        <item>
        	<title>tony on post data is not beig sent when using grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p13969</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p13969</guid>
        	        	<description><![CDATA[<p>Try</p>
<p><strong>postData:</strong> <span style="color: #ff0000;">{ &#39;ProcID&#39;: row_id }</span></p>
]]></description>
        	        	<pubDate>Sat, 16 Jan 2010 11:11:04 +0200</pubDate>
        </item>
        <item>
        	<title>vpatil on post data is not beig sent when using grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p13960</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/post-data-is-not-beig-sent-when-using-grid-as-subgrid#p13960</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I am using grid as a subgrid with datatype as a function</p>
<p>jQuery("#tblProcs").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; postData: { &#39;TemplID&#39;: TemplId },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: function(pdata) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //jQuery("#lui_NodeTable, #load_NodeTable").show();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery.ajax({ type: "POST",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: "../asmx/AddRoom.asmx/GetTemplProcs",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; dataType: "json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; data: JSON.stringify(pdata),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; contentType: "application/json;charset=utf-8",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; processData: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; error: function(XMLHttpRequest, textStatus, errorThrown) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //jQuery("#lui_NodeTable, #load_NodeTable").hide();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ajaxError("GetTemplProcs", XMLHttpRequest, textStatus, errorThrown);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; success: function(result) {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; grdData = JSON.parse(result.d);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var thegrid = jQuery("#tblProcs")[0];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thegrid.addJSONData(grdData);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //&#160; jQuery("#lui_NodeTable, #load_NodeTable").hide();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; })<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Name&#39;, &#39;Host Name&#39;, &#39;Location&#39;, &#39;Port&#39;, &#39;Secure Port&#39;, &#39;User Name&#39;, &#39;Password&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160; { name: &#39;Name&#39;, index: &#39;Name&#39;, width: 100, sortable: false },<br />&#160;&#160;&#160; { name: &#39;IPAddr&#39;, index: &#39;IPAddr&#39;, width: 100, sortable: false },<br />&#160;&#160;&#160; { name: &#39;Loc&#39;, index: &#39;Loc&#39;, width: 100, sortable: false },<br />&#160;&#160;&#160; { name: &#39;Port&#39;, index: &#39;Port&#39;, width: 50, sortable: false },<br />&#160;&#160;&#160; { name: &#39;SecPort&#39;, index: &#39;SecPort&#39;, width: 50, sortable: false },<br />&#160;&#160;&#160; { name: &#39;UserName&#39;, index: &#39;UserName&#39;, width: 80, sortable: false },<br />&#160;&#160;&#160; { name: &#39;Pwd&#39;, index: &#39;Pwd&#39;, width: 80, sortable: false}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [10, 25, 50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#divProcs&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; subGrid: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; subGridRowExpanded: function(subgrid_id, row_id) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var subgrid_table_id;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; subgrid_table_id = subgrid_id + "_t";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#" + subgrid_id).html("&#60;table id=&#39;" + subgrid_table_id + "&#39; class=&#39;scroll&#39;&#62;&#60;/table&#62;");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#" + subgrid_table_id).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color: #ff0000;">&#160; postdata: { &#39;ProcID&#39;: row_id },</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: function(pdata) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery.ajax({ type: "POST",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: "../asmx/AddRoom.asmx/GetTemplSym",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; dataType: "json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; data: JSON.stringify(pdata),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; contentType: "application/json;charset=utf-8",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; processData: 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; error: function(XMLHttpRequest, textStatus, errorThrown) {<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; ajaxError("GetTemplProcs", XMLHttpRequest, textStatus, errorThrown);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<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(result) {<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; grdData = JSON.parse(result.d);<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; var thegrid = jQuery("#" + subgrid_table_id)[0];<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; thegrid.addJSONData(grdData);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; })<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Name&#39;, &#39;IPID&#39;, &#39;Version&#39;, &#39;Use SSL&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: "Name", index: "Name", width: 80, key: true, sortable: false },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: "IPID", index: "IPID", width: 130, sortable: false },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: "Version", index: "Version", width: 80, align: "right", sortable: false },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: "UseSSL", index: "UseSSL", width: 80, align: "right", sortable: false}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; })<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; });</p>
</p>
<p>If I put&#160; a break point in Jquery.js where&#160; it sends data</p>
<p>try {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; xhr.send(s.data);<br />&#160;&#160;&#160; &#160;&#160;&#160; } catch(e) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery.handleError(s, xhr, null, e);<br />&#160;&#160;&#160; &#160;&#160;&#160; }</p>
</p>
<p>I see that the postdata is not being serailized.</p>
]]></description>
        	        	<pubDate>Fri, 15 Jan 2010 21:35:16 +0200</pubDate>
        </item>
</channel>
</rss>