<?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: Adding row and sending new row info to webservice</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/adding-row-and-sending-new-row-info-to-webservice</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/adding-row-and-sending-new-row-info-to-webservice/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>webdad3 on Adding row and sending new row info to webservice</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-row-and-sending-new-row-info-to-webservice#p20273</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-row-and-sending-new-row-info-to-webservice#p20273</guid>
        	        	<description><![CDATA[<p>I can&#39;t seem to find any examples on how to do this. I want to take the newly created row and pass that new data to my webservice.&#160; What am I missing?</p>
</p>
<p>This is what I have so far:</p>
</p>
<p>jQuery(document).ready(function () {<br />&#160;&#160;&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: processrequest,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jsonReader: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; root: "ListExercise", //arry containing actual data &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page: "Page", //current page &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total: "Total", //total pages for the query &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; records: "Records", //total number of records &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; id: "ID" //index of the column with the PK in it&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Id&#39;, &#39;Exercise&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160; { name: &#39;exercise_id&#39;, index: &#39;exercise_id&#39;,editable:false },<br />&#160;&#160;&#160;&#160;&#160; { name: &#39;exercise_value&#39;, index: &#39;exercise_value&#39;,editable:true }<br />&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;MyFitnessApplication&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [10, 20, 30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: &#39;250px&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadonce: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl: "../webService/exercise_ws.asmx/insertRecord"&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160; }).navGrid(&#39;#pager&#39;, { edit: true, add: true, del: false });<br />});</p>
]]></description>
        	        	<pubDate>Tue, 12 Oct 2010 21:42:27 +0300</pubDate>
        </item>
</channel>
</rss>