<?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: Client-side editing without posting to the server</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server</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/client-side-editing-without-posting-to-the-server/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ujavid on Client-side editing without posting to the server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p19009</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p19009</guid>
        	        	<description><![CDATA[<p>I didn&#39;t put it in the grid parameters I put it in the editGridRow parameters: (addRow is the function I created which does what i described in my previous post.</p>
</p>
<p>&#160;&#160;&#160; grid.jqGrid(&#39;editGridRow&#39;,"new",{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; addCaption: "Add new record",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; reloadAfterSubmit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; closeAfterAdd : true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; beforeSubmit : function(postdata, formid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return addRow(grid, postdata);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterComplete : function (response, postdata, formid) { grid.setSelection(postdata.id, false); }<br />&#160;&#160;&#160; });</p>
]]></description>
        	        	<pubDate>Fri, 06 Aug 2010 20:31:00 +0300</pubDate>
        </item>
        <item>
        	<title>RedSpawn on Client-side editing without posting to the server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p19008</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p19008</guid>
        	        	<description><![CDATA[<p>i&#39;m trying to do the same thing, how did you access the beforeSubmit of the add/edit form?</p>
<p>i tried the onSubmit event of the grid but it is not firing upon saving in the add/edit dialog</p>
]]></description>
        	        	<pubDate>Fri, 06 Aug 2010 17:38:59 +0300</pubDate>
        </item>
        <item>
        	<title>ujavid on Client-side editing without posting to the server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18955</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18955</guid>
        	        	<description><![CDATA[<p>If I use a dummy url then I get an error. I actually created a workaround:</p>
<p>In the beforeSubmit event for the add/edit form I created a function which adds or edits the data manually in the grid and then hides the edit form div. I then return false to stop the form from requesting the service. Now anytime I need to add or edit I just show the div before calling the add or edit method for the grid.</p>
<p>This works without any problems that I know of but it would be nice if there was a option for the grid that I could set which would make this much cleaner and simpler.</p>
</p>
<p>Thanks for your help.</p>
]]></description>
        	        	<pubDate>Tue, 03 Aug 2010 23:13:52 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Client-side editing without posting to the server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18952</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18952</guid>
        	        	<description><![CDATA[<p>It seems that <strong>editurl</strong> equal to <strong>&#39;clientArray&#39;</strong> is suported by inline editing and cell editing but <em><strong>not</strong></em> by form editing. In case of form editing you probably should use a dummy ajax url like you do this. An example you can find on the demo page<a rel="nofollow" href="http://trirand.com/blog/jqgrid/jqgrid.html" target="_blank">trirand.com/blog/jqgrid/jqgrid.html</a>&#160;choose "<em>New in version 3.7</em>" and then "<em>Add/edit/delete on local data</em>".</p>
<p>Probably do there are some way to define a definitively wrong URL for <strong>editurl</strong> to produce en errr without timeout and overwride <strong>error</strong> function from <strong>ajaxEditOptions</strong> to suppress displaying an error message. If I find a solution I&#39;ll post the corresponding code example.</p>
<p>It can be that Tony suggest a workaround or at least say where this problem will be fixed in the next version of jqGrid.</p>
]]></description>
        	        	<pubDate>Tue, 03 Aug 2010 21:21:55 +0300</pubDate>
        </item>
        <item>
        	<title>ujavid on Client-side editing without posting to the server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18947</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18947</guid>
        	        	<description><![CDATA[<p>If I set the editurl to &#39;clientArray&#39; I receive the following error when trying to add or edit a record using the form:</p>
<p>error Status: &#39;Method Not Allowed&#39;. Error code: 405</p>
]]></description>
        	        	<pubDate>Tue, 03 Aug 2010 18:34:29 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Client-side editing without posting to the server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18924</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18924</guid>
        	        	<description><![CDATA[<p>You should use <strong>editurl</strong> equal to <strong>&#39;clientArray&#39;</strong>.</p>
]]></description>
        	        	<pubDate>Tue, 03 Aug 2010 02:03:02 +0300</pubDate>
        </item>
        <item>
        	<title>ujavid on Client-side editing without posting to the server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18916</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-editing-without-posting-to-the-server#p18916</guid>
        	        	<description><![CDATA[<p>I&#39;d like to allow users to manipulate data at will (add or edit) without having to post the data to the server.</p>
</p>
<p>I currently have a jqgrid setup which loads the data from local xml. When the user hits the add button or decides to edit a field the form edit dialog pops up and is used. When the user submits the data I have a webservice which simply returns true. I handle all data from the grid when the user saves the page.</p>
</p>
<p>Everything works but the webservice call is unneccessary and is slow when called for the first time. Is there a way that I can make the form edit save the data to the grid without posting data to the server? If I leave editurl blank the form editor throws an error.</p>
</p>
<p>Any help would be appreciated.</p>
]]></description>
        	        	<pubDate>Mon, 02 Aug 2010 20:45:17 +0300</pubDate>
        </item>
</channel>
</rss>