<?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: response from editgridrow</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/response-from-editgridrow</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/response-from-editgridrow/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on response from editgridrow</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/response-from-editgridrow#p12263</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/response-from-editgridrow#p12263</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Depending on what you return from server you should use either</p>
<p><strong>response.responseText</strong> or <strong>response.responseXML</strong></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 21 Nov 2009 06:51:21 +0200</pubDate>
        </item>
        <item>
        	<title>taquitosensei on response from editgridrow</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/response-from-editgridrow#p12138</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/response-from-editgridrow#p12138</guid>
        	        	<description><![CDATA[<p>I&#39;m trying to add a new row and get the product id in response.&#160; Here is the section from my grid.</p>
<p>&#160;.navButtonAdd("#products_pager",{caption:"Add Product",title:"Add New Product", buttonicon :&#39;./images/add.png&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; onClickButton: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#products_list").editGridRow("new", {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editData: { companyid: $("#currentCompany").val() },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; reloadAfterSubmit: true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; closeAfterAdd: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; dataType: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterSubmit: function(response) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // this is where I can&#39;t seem to get any response<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; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160; });<br />here is my json response from the server</p>
<div class="netInfoResponseText netInfoText ">
<pre><code>{"page":1,"total":1,"records":1,"rows":[{"id":"104383","cell":["104383","123456","Product Name","Active"</code><code>,"Hazard","Application","Profit Center","615","1"]}]}<br />this matches the colModel in the grid definition. <br /><br />I either get "[object xmlHttpRequest]" or undefined as the response </code></pre>
</div>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 14:19:46 +0200</pubDate>
        </item>
</channel>
</rss>