<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Commenti a: UiTableEdit - save data</title>
	<atom:link href="http://maxb.net/blog/2008/05/08/uitableedit-save-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxb.net/blog/2008/05/08/uitableedit-save-data/</link>
	<description>// MAXB.NET LABS</description>
	<pubDate>Tue, 06 Jan 2009 08:21:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Di: Massimiliano Balestrieri</title>
		<link>http://maxb.net/blog/2008/05/08/uitableedit-save-data/#comment-10</link>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
		<pubDate>Fri, 09 May 2008 07:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://maxb.net/blog/?p=17#comment-10</guid>
		<description>Ho corretto aggiornando l'ultima versione del plugin (0.4).

La callback era stata corretta da Greg
&lt;blockquote&gt;
editDone : function(val,orig_text,ev, el)
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Ho corretto aggiornando l&#8217;ultima versione del plugin (0.4).</p>
<p>La callback era stata corretta da Greg</p>
<blockquote><p>
editDone : function(val,orig_text,ev, el)
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Massimiliano Balestrieri</title>
		<link>http://maxb.net/blog/2008/05/08/uitableedit-save-data/#comment-5</link>
		<dc:creator>Massimiliano Balestrieri</dc:creator>
		<pubDate>Thu, 08 May 2008 16:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://maxb.net/blog/?p=17#comment-5</guid>
		<description>Ecco la risposta di greg
&lt;blockquote&gt;
Sorry for my poor italiano ...

You should upgrade to the latest version- 0.4, as it fixes a potential focus blurring issue.  It also allows use of the escape key.
It also passes the parameter that you want

      if( options.editDone ) options.editDone(val,orig_text,e,td)



There is nothing built in for saving server side- this is a very light-weight plugin.  You may find my other plugin helpful for this task: http://plugins.jquery.com/project/tableLib
When I want to save every table element, I will use $.ajax({ type: "POST", ..., data : { json : JSON.stringify( $('#my-table').objects() ) } } );
In the case of saving a row, you could use the plugin:
$.row( row_selector ).to_object() -OR- $( row_selector ).row().to_object()
For the json, I am using a standard JSON library

Thanks for showing the demo- I have been meaning to put a demo up for a while.  If you plan on maintaining it, I will link to it.  I did notice a flaw in the demo (which may be the fault of my plugin).  I am using Firefox 2, and after I am done editing a cell, the padding/margin is lost so the value moves to the upper left.


Chao
Greg Weber
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Ecco la risposta di greg</p>
<blockquote><p>
Sorry for my poor italiano &#8230;</p>
<p>You should upgrade to the latest version- 0.4, as it fixes a potential focus blurring issue.  It also allows use of the escape key.<br />
It also passes the parameter that you want</p>
<p>      if( options.editDone ) options.editDone(val,orig_text,e,td)</p>
<p>There is nothing built in for saving server side- this is a very light-weight plugin.  You may find my other plugin helpful for this task: <a href="http://plugins.jquery.com/project/tableLib" rel="nofollow">http://plugins.jquery.com/project/tableLib</a><br />
When I want to save every table element, I will use $.ajax({ type: &#8220;POST&#8221;, &#8230;, data : { json : JSON.stringify( $(&#8217;#my-table&#8217;).objects() ) } } );<br />
In the case of saving a row, you could use the plugin:<br />
$.row( row_selector ).to_object() -OR- $( row_selector ).row().to_object()<br />
For the json, I am using a standard JSON library</p>
<p>Thanks for showing the demo- I have been meaning to put a demo up for a while.  If you plan on maintaining it, I will link to it.  I did notice a flaw in the demo (which may be the fault of my plugin).  I am using Firefox 2, and after I am done editing a cell, the padding/margin is lost so the value moves to the upper left.</p>
<p>Chao<br />
Greg Weber
</p></blockquote>
]]></content:encoded>
	</item>
</channel>
</rss>
