<?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: Edit grid on client then save as a whole</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole</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/edit-grid-on-client-then-save-as-a-whole/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>xgote on Edit grid on client then save as a whole</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14712</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14712</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>As I say again and again &#8211; Did you have consult the documentation?</p>
<p>So the answer is in the docs</p>
<p><a rel="nofollow" href="/jqgridwiki/doku.php?id=wiki:methods" target="_blank"></a><a href="http://www.trirand.com/jqgridw" rel="nofollow" target="_blank">http://www.trirand.com/jqgridw</a>.....ki:methods</p>
<p>What about using the method</p>
<p>getRowData</p>
<p>Let&#39;s&#160; look what the docs say</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1892' value='Select Code' data-codeid='sfcode1892' /></p>
<div class='sfcode' id='sfcode1892'>
<p>Returns an array with data of the requested id = <em>rowid.</em> The returned array is of type name:value, where the name is a name from colModel and the value from the associated column in that row. It returns an empty array if the rowid can not be found.<br /> Do not use this method when you editing the row or cell. This will return the cell content and not the actuall value of the input element  <br /> If the rowid is not set the method return all the data from the grid in array</p>
</div>
<p>Using the last expresion from the docs you will have a aray with all the data.</p>
<p>After that you can convert the array to what you want and post it to the server</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Thanks for pointing this out.&#160; So, the takeaway I have is that "no, there is no preconfigured parameter that accounts for this behavior".&#160; This is helpful so we don&#39;t re-invent your code so please don&#39;t take offense.&#160;</p>
<p>I was thinking this behavoir most of us in this thread are looking for could be accomplished, conceptually, this way:</p>
</p>
<ol>
<li>Add a dataevent, may type "change" to a column model, set a callback to fire whenever anything changes / goes out of focus.</li>
<li>The callback will update an array that could be serialized to JSON or multi-dimensional post data later</li>
<li>Use setCell to update the grid view from the input value and change the style of the row</li>
<li>User submits changes to server via data set from step 2</li>
<li>Hopefully row styles reset to default upon grid render, or else write a method to reset them after submit and before render</li>
</ol>
<p>A great example of this behavior is how the MySQL Query Browser works.&#160; When you are editing result-sets from it&#39;s grid, the rows background changes so you can edit multiple rows before submitting them for update.&#160; Many other RDBMS tools mimic this behavior and is almost standard as far as how grids work in non-web applications.&#160; I&#39;m not complaining but it would be a nice feature to have in future releases.&#160; If I end up writing this case, I&#39;ll send you a literal example.</p>
</p>
<p>Thanks for maintaining this project <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p></p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 22:21:47 +0200</pubDate>
        </item>
        <item>
        	<title>D_W on Edit grid on client then save as a whole</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14705</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14705</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Thanks for you rapid reply.&#160; As a new user to JqGrid, I have spent many hours in the documentation, learning the many complexities of the jqGrid to take advatage of is extreme usefulness.&#160; However, I have to apologize but I am still learning the terminology, syntax, and usage of the many features.&#160;&#160; I did read the entry on getRowData, and even now, do not understand how to use it as you describe.&#160; I was hoping you or someone in the user community would have an example I could study to better understand its use.&#160;</p>
<p>Thanks again for you time and effort.</p>
<p>DW</p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 16:55:26 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Edit grid on client then save as a whole</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14677</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14677</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>As I say again and again - Did you have consult the documentation?</p>
<p>So the answer is in the docs</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ki:methods</a></p>
<p>What about using the method</p>
<p>getRowData</p>
<p>Let&#39;s&#160; look what the docs say</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6185' value='Select Code' data-codeid='sfcode6185' /></p>
<div class='sfcode' id='sfcode6185'>
<p>Returns an array with data of the requested id = <em>rowid.</em> The returned array is of type name:value, where the name is a name from colModel and the value from the associated column in that row. It returns an empty array if the rowid can not be found.<br /> Do not use this method when you editing the row or cell. This will return the cell content and not the actuall value of the input element  <br /> If the rowid is not set the method return all the data from the grid in array</p>
</div>
<p>Using the last expresion from the docs you will have a aray with all the data.</p>
<p>After that you can convert the array to what you want and post it to the server</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 14:32:45 +0200</pubDate>
        </item>
        <item>
        	<title>Seroczynski on Edit grid on client then save as a whole</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14674</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14674</guid>
        	        	<description><![CDATA[<p>+1, I&#39;m also curious about this possibility. No luck finding any information&#160;about it so far.</p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 11:11:10 +0200</pubDate>
        </item>
        <item>
        	<title>xgote on Edit grid on client then save as a whole</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14666</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14666</guid>
        	        	<description><![CDATA[<p>I actually just asked about this before I seen your post.. Sorry for the double post then 🙂</p>
<p>Curious to learn about this as well.</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 05:12:35 +0200</pubDate>
        </item>
        <item>
        	<title>D_W on Edit grid on client then save as a whole</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14660</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-grid-on-client-then-save-as-a-whole#p14660</guid>
        	        	<description><![CDATA[<p>I am enjoying your grid quite abit.&#160; I understand how to edit rows and save them one row at a time. However, I would like to allow users to edit grid contects on the client, then save changes to the database all at once.&#160; I would appreciate an suggestions or examples on how to accomplish this.</p>
<p>Thanks,</p>
<p>DW</p>
]]></description>
        	        	<pubDate>Tue, 09 Feb 2010 23:20:51 +0200</pubDate>
        </item>
</channel>
</rss>