<?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: Reloading Grid while Cell Editing issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/reloading-grid-while-cell-editing-issue</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/reloading-grid-while-cell-editing-issue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Reloading Grid while Cell Editing issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/reloading-grid-while-cell-editing-issue#p2678</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/reloading-grid-while-cell-editing-issue#p2678</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you. Fixed.</p>
<p>Regads</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 25 Oct 2008 06:21:54 +0300</pubDate>
        </item>
        <item>
        	<title>virgil on Reloading Grid while Cell Editing issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/reloading-grid-while-cell-editing-issue#p2658</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/reloading-grid-while-cell-editing-issue#p2658</guid>
        	        	<description><![CDATA[<p>This bug occurs when previously edited row is moved to a different row position after reload.</p>
<p>here are the steps to reproduce the bug:</p>
<p>1. edit cell#1 in row#2<br />2. reload the grid while cell editing is active<br />3. after the reload, row is now moved to row#4&#160;<br />4. edit a cell, say row#3<br />5. notice that the cell#1 of row#2 content is now equal to cell#1 of row#4</p>
<p>my solution was to clear the saved row inside reloadGrid method in&#160;grid.base.js</p>
<p>original code:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2314' value='Select Code' data-codeid='sfcode2314' /></p>
<div class='sfcode' id='sfcode2314'>}).bind(&#39;reloadGrid&#39;, function(e) {<br /><span style="white-space: pre;"> </span>if(!ts.p.treeGrid) {ts.p.selrow=null;} <span style="white-space: pre;"> </span>if(ts.p.multiselect) {ts.p.selarrrow =[];$(&#39;#cb_jqg&#39;,ts.grid.hDiv).attr("checked",false);} <span style="white-space: pre;"> </span>populate();<br />});</div>
<p>modified code:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2515' value='Select Code' data-codeid='sfcode2515' /></p>
<div class='sfcode' id='sfcode2515'><code> }).bind(&#39;reloadGrid&#39;, function(e) {<br /><span style="white-space: pre;"> </span>if(!ts.p.treeGrid) {ts.p.selrow=null;}<br /><span style="white-space: pre;"> </span>if(ts.p.multiselect) {ts.p.selarrrow =[];$(&#39;#cb_jqg&#39;,ts.grid.hDiv).attr("checked",false);}<br /><strong><span style="white-space: pre;"> </span>if(ts.p.cellEdit) {ts.p.savedRow = []; }</strong> <br /><span style="white-space: pre;"> </span>populate(); <br /> }); </code></div>
<p>cheers!</p></p>
]]></description>
        	        	<pubDate>Thu, 23 Oct 2008 05:41:53 +0300</pubDate>
        </item>
</channel>
</rss>