<?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: Using clientArray &#38; getChangedCells to batch save...</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/using-clientarray-getchangedcells-to-batch-save</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/using-clientarray-getchangedcells-to-batch-save/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jonaofarc on Using clientArray &#38; getChangedCells to batch save...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-clientarray-getchangedcells-to-batch-save#p20476</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-clientarray-getchangedcells-to-batch-save#p20476</guid>
        	        	<description><![CDATA[<p>&#160;Iam trying to manually save once MULTIPLE rows have been edited. Apparently it can be done using&#160;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8319' value='Select Code' data-codeid='sfcode8319' /></p>
<div class='sfcode' id='sfcode8319'>var saved = $(&#8221;#rowed6&#8221;).getChangedCells(&#39;dirty&#39;);</div>
<p>which returns all edited&#160;rows.</p>
<p>Unfortunately I have not been able to get any values out of the saved variable &#39;saved&#39;.</p>
<p>How do I go about using clientArray &#38; getChangedCells to post multiple row saves .</p>
<p>All I need is someone to show me how to get a var with the newly changed cells so I can do a manual jquery save.</p>
</p>
<p>var lastSel;<br />jQuery("#rowed6").jqGrid({&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;/blog/&#39;clientArray&#39;; type=&#39;button&#39; value=&#39;&#39; onclick="jQuery(&#39;#rowed6&#39;).editRow(&#39;"+cl+"&#39;);" &#62;"; <br />&#160;&#160;se = "&#60;input style=&#39;height:20px;width:20px;background:url(<a href="http://www.momsmiami.com/images/save_icon.gif" rel="nofollow" target="_blank"><a href="http://www.momsmiami.com/image" rel="nofollow">http://www.momsmiami.com/image</a>.....e_icon.gif</a>);&#39;; type=&#39;button&#39; value=&#39;&#39; onclick="jQuery(&#39;#rowed6&#39;).saveRow(&#39;"+cl+"&#39;);"&#160; &#62;"; <br />&#160;&#160;ce = "&#60;input style=&#39;height:20px;width:20px;background:url(<a href="http://www.jneweb.com/Images/IconRefresh.gif" rel="nofollow" target="_blank"><a href="http://www.jneweb.com/Images/I" rel="nofollow">http://www.jneweb.com/Images/I</a>.....efresh.gif</a>);&#39;; type=&#39;button&#39; value=&#39;&#39; onclick="jQuery(&#39;#rowed6&#39;).restoreRow(&#39;"+cl+"&#39;);" &#62;";&#160; <br />&#160;&#160;jQuery("#rowed6").jqGrid(&#39;setRowData&#39;,ids[i],{act:be+se+ce});<br />&#160;&#160;}&#160;<br />&#160;}<br />&#160;<br />});</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit529' value='Select Code' data-codeid='sfcode529' /></p>
<div class='sfcode' id='sfcode529'></div>
]]></description>
        	        	<pubDate>Tue, 26 Oct 2010 00:03:30 +0300</pubDate>
        </item>
</channel>
</rss>