<?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: Found and corrected a bug in saveRow</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow</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/bugs/found-and-corrected-a-bug-in-saverow/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Found and corrected a bug in saveRow</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1810</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1810</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>there is such callback - the name is aftersavefunc and is parameter in</p>
<p>saveRow. Also check the docs.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 31 Aug 2008 03:02:43 +0300</pubDate>
        </item>
        <item>
        	<title>globalisateur on Found and corrected a bug in saveRow</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1800</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1800</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Thanks for your quick answer!</p>
<p>The value tmp2 was undefined.</p>
<p>Anyway I understood my problem (all my fault I'm afraid).<br />
I wanted to use setRowData in the saveRow successful function in order to modify some values manually (format the value and modify one depending the value of a checkbox).<br />
But the problem (unknown to me, I thought it was a bug, it wasn't...) is that jqGrid does some job after the return true of the successful saveRow function: The part which contains the moved 2 instructions.</p>
<p>So I couldn't use setRowData but instead refresh manually the whole grid. I would have needed a onSaveRowComplete event (which doesn't exist) to do what I intended to do. Cause the function loadComplete is fired only after the refreshing or loading of the whole grid and no events fires after all process terminated after a saveRow...</p>
<p>Sorry for my misunderstanding of this marvelous tool, jqGrid!!</p>
<p>Cordially,<br />
Geoffroy</p>
]]></description>
        	        	<pubDate>Sat, 30 Aug 2008 09:23:26 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Found and corrected a bug in saveRow</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1797</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1797</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you for this post. I test this again and again and never see such</p>
<p>behavior. Since this problem is posted for first time (I do not exclude</p>
<p>that there is a bug) please do the following:</p>
<p>Before every break in this switch statement alert the value tmp2.</p>
<p>See what is it.</p>
<p>I think that something is wrong in cofiguration.</p>
<p>Another possible problem should be the min file.</p>
<p>Also try to include development version, clear the cache and test.</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 30 Aug 2008 02:55:02 +0300</pubDate>
        </item>
        <item>
        	<title>globalisateur on Found and corrected a bug in saveRow</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1793</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/found-and-corrected-a-bug-in-saverow#p1793</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>I found a bug in inline editing. When I update successively a row via (urledit), the editable cells become blank and the updated value is only displayed when I refresh the griddata. But when I re-edit the same row, the value then re-disappear again.</p>
<p>I found a way to normalize the problem:&#160;</p>
<p>In grid.inlinedit.js (3.2.4 version) line 154 and 155 (inside method saveRow), I simply moved this 2 instructions inside the case "select" <em><strong>and</strong> </em>the case "checkbox" of the previous switch.</p>
<p>I coudn&#39;t erase these instructions completely cause my checkbox&#160;column&#160;needed it. I <em>suppose</em> the select column needs it too. I haven&#39;t any textarea column but I suppose (until I test it later) it will act as its <em>brother</em> text column.</p>
<p>This bug occurred on my 4 browsers: Opera, Firefox, IE7, Safari, all for Windows with the last versions, with a Java/tomcat 5.5 application on a&#160;"-//W3C//DTD XHTML 1.0 Strict//EN" html format.</p>
<p>If you find a better way or if my correction brings others (future) problems, please let me know!</p>
<p>Cordially,&#160;</p>
<p>Geoffroy</p>
]]></description>
        	        	<pubDate>Fri, 29 Aug 2008 12:53:31 +0300</pubDate>
        </item>
</channel>
</rss>