<?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 submit Grid data row from JQuery</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-submit-grid-data-row-from-jquery</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-submit-grid-data-row-from-jquery/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>rl2014 on How to submit Grid data row from JQuery</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-submit-grid-data-row-from-jquery#p30330</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-submit-grid-data-row-from-jquery#p30330</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
</p>
<p>After you do this with setCell you will need to call your own custom ajax to make the changes to the server,</p>
<p>something like this:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2395' value='Select Code' data-codeid='sfcode2395' /></p>
<div class='sfcode' id='sfcode2395'>
<p>$.ajax({</p>
<p>url: &#39;url_to_server&#39;,</p>
<p>data : { id : &#39;myid&#39;, name: &#39;myname&#39;}</p>
<p>&#8230;});</p>
</div>
<p>But i think it is better first to make changes to server and if succes to make them in the grid.</p>
</p>
<p>Regards</p>
</blockquote>
<hr />
<p>So I should perform an ajax call to update database from my page directly and then refresh/reload the grid?</p>
<p>Thanks</p></p>
]]></description>
        	        	<pubDate>Wed, 05 Mar 2014 13:15:19 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to submit Grid data row from JQuery</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-submit-grid-data-row-from-jquery#p30326</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-submit-grid-data-row-from-jquery#p30326</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>After you do this with setCell you will need to call your own custom ajax to make the changes to the server,</p>
<p>something like this:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2252' value='Select Code' data-codeid='sfcode2252' /></p>
<div class='sfcode' id='sfcode2252'>
<p>$.ajax({</p>
<p>url: &#39;url_to_server&#39;,</p>
<p>data : { id : &#39;myid&#39;, name: &#39;myname&#39;}</p>
<p>&#8230;});</p>
</p>
</div>
<p>But i think it is better first to make changes to server and if succes to make them in the grid.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 05 Mar 2014 11:25:02 +0200</pubDate>
        </item>
        <item>
        	<title>rl2014 on How to submit Grid data row from JQuery</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-submit-grid-data-row-from-jquery#p30322</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-submit-grid-data-row-from-jquery#p30322</guid>
        	        	<description><![CDATA[<p>Hi, newbie question here.</p>
</p>
<p>If I have set a cell value in a grid by:</p>
<p>var id = $(&#39;#mygrid&#39;).jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);&#160;</p>
<p>$(&#39;#mygrid&#39;).jqGrid(&#39;setCell&#39;,id,&#39;Name&#39;,name);</p>
</p>
<p>How do I then tell the grid to submit the change to the server?</p>
<p>I don&#39;t want to pop up an edit form, just do the post.</p>
<p>Ideally I could call $(&#39;#mygrid&#39;).jqGrid(&#39;updateRow&#39;,id) or something similar.</p>
</p>
<p>Thank you</p>
]]></description>
        	        	<pubDate>Wed, 05 Mar 2014 08:53:14 +0200</pubDate>
        </item>
</channel>
</rss>