<?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: Cell Edit Bugs</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs</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/cell-edit-bugs/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5712</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5712</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Clear your cache. Sortable property can not be changed dynamically.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 01 Apr 2009 02:18:31 +0300</pubDate>
        </item>
        <item>
        	<title>dmexis on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5684</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5684</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I installed <a href="../../../../../../jqgrid/jqGrid-3.4.3.zip" target="_blank">jQuery Grid Plugin 3.4.3</a> but I still have the same problems.</p>
<p>Anyway, I guess then I am doing something wrong. Thanks for your help really...</p>
<p>I will use row, inline edit where I dont have any problems.</p>
</p>
<p>How can I disable sort in edit mode?</p>
<p>By setting</p>
<p>jQuery("#list2").setColProp(&#39;amount&#39;,{sortable: false});</p>
<p>on <strong>beforeEditCell ?</strong></p>
]]></description>
        	        	<pubDate>Mon, 30 Mar 2009 06:30:17 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5682</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5682</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You use jqGrid 3.4 beta 2. Please upgrade to the latest, where you can not sort while in edit mode.</p>
<p>For me deleting work perfect. Also n problems</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 30 Mar 2009 06:02:16 +0300</pubDate>
        </item>
        <item>
        	<title>dmexis on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5680</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5680</guid>
        	        	<description><![CDATA[<p>I have some print screen here if they help you...</p>
<p><a href="http://mexis.homeftp.org/problem/" rel="nofollow" target="_blank">http://mexis.homeftp.org/problem/</a></p>
</p>
<p>1) When I delete a row that I have click on the editable field then the grid is &#8220;frozen&#8221;. If I delete a row but I have choose not an editable field, I don&#39;t have any problems.</p>
<p>As you can see after I delete the row then I can&#39;t even choose a row. Actually it doesn&#39;t appear the color selection but if I press delete then it will delete it even the row it isn&#39;t appeared selected. And I can&#39;t edit a cell after the deletion.</p>
<p>Picture: problem1</p>
</p>
<p>2) When I am in an editable field A when I press to sort something and then go to an ediatable field B, the A is not closed as it sould be. And if I return to the A then in the field I see html&#8230; something like that&#8230;</p>
<p>&#60;input name=&#8221;amount&#8221; id=&#8221;2_amount&#8221; style=&#8221;width: 98%;&#8221; type=&#8221;text&#8221;&#62;</p>
</p>
<p>Pricture: problem2_1, problem2_2</p>
]]></description>
        	        	<pubDate>Mon, 30 Mar 2009 05:20:25 +0300</pubDate>
        </item>
        <item>
        	<title>dmexis on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5679</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5679</guid>
        	        	<description><![CDATA[<p>Hello Tony and thanks again!</p>
<p>I am sorry for the wrong conf. I thought that with celledit we have to use cellurl.</p>
<p>Ok, I replace it but again I have the same issues.</p>
<p>1) When I delete a row that I have click on the editable field then the grid is "frozen". If I delete a row but I have choose not an editable field, I don&#39;t have any problems.</p>
<p>Do I have to return something specific by jgrid_update.php?</p>
</p>
<p>2) When I am in an editable field A when I press to sort something and then go to an ediatable field B, the A is not closed as it sould be. And if I return to the A then in the field I see html... something like that...</p>
<p>&#60;input name=&#8221;amount&#8221; id=&#8221;2_amount&#8221; style=&#8221;width: 98%;&#8221; type=&#8221;text&#8221;&#62;</p>
</p>
<p>How can I make the grid when I click outside of a cell to close any cell that is in edit mode?</p>
<p>And why does the html DOM appears?</p>
</p>
<p>Regards,</p>
<p>Mexis</p></p>
]]></description>
        	        	<pubDate>Mon, 30 Mar 2009 05:08:57 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5677</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5677</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Replace</p>
<p>cellurl: &#8220;include/jgrid_update.php&#8221;,</p>
<p>with</p>
<p>editlurl: &#8220;include/jgrid_update.php&#8221;,</p>
]]></description>
        	        	<pubDate>Mon, 30 Mar 2009 04:36:08 +0300</pubDate>
        </item>
        <item>
        	<title>dmexis on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5676</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5676</guid>
        	        	<description><![CDATA[<p>Hello Tony and thanks for your response!</p>
<p>I corrected my config. Or I think.. Now it must be ok!!! 😀</p>
<p>But I am still having the same isues as I mentioned before.</p>
</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160; var lastSel;<br />jQuery("#list2").jqGrid({<br />&#160;&#160;&#160; // the url parameter tells from where to get the data from server<br />&#160;&#160;&#160; // adding ?nd=&#39;+new Date().getTime() prevent IE caching</p>
<p>&#160;&#160;&#160; url:&#39;include/jgrid.php?nd=&#39;+new Date().getTime(),</p>
<p>&#160;&#160;&#160; datatype: "json",<br />&#160;&#160;&#160; colNames:[&#39;ID&#39;,&#39;&#922;&#969;&#948;.&#39;,&#39;&#928;&#949;&#961;&#953;&#947;&#961;&#945;&#966;Î®&#39;, &#39;&#932;&#949;&#956;/&#922;&#953;&#946;.&#39;, &#39;&#928;&#959;&#963;ÏŒ&#964;&#951;&#964;&#945;&#39;],<br />&#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:10, sortable: true, sorttype:"int", hidden:true, editrules:{edithidden:true} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;code&#39;, sortable: true, width:10, sorttype:"text" },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;desc&#39;,index:&#39;description&#39;, width:100, sortable: true, editable:false, sorttype:"text" },<br />&#160;&#160;&#160; {name:&#39;item&#39;,index:&#39;item&#39;, width:12, sortable: true, editable:false, sorttype:"text" },<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, sortable: true, editable:true, width:15, sorttype:"int", formatter:&#39;integer&#39;, editrules:{required: true, integer: true, minValue: 1} }&#160;&#160;&#160; //formatter:&#39;checkbox&#39;,editoptions:{value:&#8220;true:false&#8221;}<br />&#160;&#160;&#160; ],<br />&#160;&#160;&#160; pager: jQuery(&#39;#pager2&#39;),</p>
<p>&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160; rowList:[10,20,30],</p>
<p>&#160;&#160;&#160; imgpath: &#39;../admin/js/jgrid/themes/basic/images&#39;,<br />&#160;&#160;&#160; sortname: &#39;sequence&#39;,</p>
<p>&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; forceFit: true,</p>
<p>&#160;&#160;&#160; sortorder: "asc",<br />&#160;&#160;&#160; caption: "&#928;&#961;&#959;ÏŠÏŒ&#957;&#964;&#945;",<br />&#160;&#160;&#160; width: 825,<br />&#160;&#160;&#160; height: 250,<br />&#160;&#160;&#160; loadonce: true,<br />&#160;&#160;&#160; cellEdit: true,<br />&#160;&#160;&#160; cellurl: "include/jgrid_update.php",<br />&#160;&#160;&#160; cellsubmit: "clientArray",<br />&#160;&#160;&#160; pager: jQuery(&#39;#pager2&#39;),</p>
<p>&#160;&#160;&#160; onRightClickRow: function(id){<br />&#160;&#160;&#160; alert("&#916;&#949;&#957; &#949;&#960;&#953;&#964;&#961;Î­&#960;&#949;&#964;&#945;&#953; &#964;&#959; &#948;&#949;&#958;Î¯ &#954;&#955;&#953;&#954;!");<br />&#160;&#160;&#160; return false;<br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; afterSaveCell: function(id){<br />&#160;&#160;&#160; $(&#39;#list2 td.dirty-cell&#39;).removeClass("dirty-cell edit-cell");<br />&#160;&#160;&#160; $(&#39;#list2 tr.edited&#39;).removeClass("edited");<br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; afterEditCell: function(id){<br />&#160;&#160;&#160; //alert("test 2");<br />&#160;&#160;&#160; <br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; beforeEditCell: function(id){<br />&#160;&#160;&#160; //alert("test 345");<br />&#160;&#160;&#160; //jQuery("#list2").setColProp(&#39;amount&#39;,{sortable: true}); <br />&#160;&#160;&#160; }<br />});</p>
<p>In the</p>
<p>cellurl: "include/jgrid_update.php",</p>
<p>The jgrid_update.php it has only one line</p>
<p>echo true;</p>
<p>Is that a problem....?</p>
</p>
<p>For alive example..</p>
<p><a href="http://mexis.homeftp.org/durostick/partners/login.php" rel="nofollow" target="_blank">http://mexis.homeftp.org/durostick/partners/login.php</a></p>
<p>Use for Username (ÎŒ&#957;&#959;&#956;&#945; &#935;&#961;Î®&#963;&#964;&#951;): 10.0049</p>
<p>It&#39;s for a Greek Project.... so the language is Greek.</p>
<p>In that page you have two autocomplete fields.</p>
<p>In the second write the keyword "Duro" and you will have some results.</p>
<p>When you click on a result then I add the product in the grid.</p>
<p>Anyway, you will fingure it out. The page is a Demo of course, so dont worry! 😀</p>
</p>
<p>Thanks...</p>
]]></description>
        	        	<pubDate>Mon, 30 Mar 2009 03:53:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5659</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5659</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If I look in you configuration you use both - inline edit and cell edit. Also to be a clear - you should either use cellEdit: true without using editRow and restoreRow or vice versa.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 30 Mar 2009 02:45:34 +0300</pubDate>
        </item>
        <item>
        	<title>dmexis on Cell Edit Bugs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5647</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-edit-bugs#p5647</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>First of all I want to say thank you for this excellent grid. I have some problems with cell edit and I need your help.</p>
<p>1) When someone press an editable cell and then press to sort something when he returns to the cell, the html tag then appears</p>
<p>&#60;input name=&#8221;amount&#8221; id=&#8221;2_amount&#8221; style=&#8221;width: 98%;&#8221; type=&#8221;text&#8221;&#62;</p>
<p>2) When a user has select a editable cell and delete the row then the grid is not &#8220;responding&#8221;. Well you can add new rows, but you can not see the indicator of what row you have select or edit any cells. Something like &#8220;half froze&#8221;!</p>
</p>
<p>According to 1 I know that has been mentioned by an other user but there was no answer. Also i found this</p>
<p><a href="http://www.trirand.com/blog/?page_id=18/bugs/sorting-and-cell-editing/page-1" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....ing/page-1</a></p>
<p>He can not sort when he is in edit mode. Furthermore i tried with beforeEditCell to disable the sortable but with no luck.</p>
<p>My jgrid conf is something like that</p>
</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160; var lastSel;<br />jQuery(&#8221;#list2&#8243;).jqGrid({<br />&#160;&#160;&#160; url:&#39;include/jgrid.php?nd=&#39;+new Date().getTime(),<br />&#160;&#160;&#160; datatype: &#8220;json&#8221;,</p>
<p>&#160;&#160;&#160; colNames:[&#39;ID&#39;,&#39;&#922;&#969;&#948;.&#39;,&#39;&#928;&#949;&#961;&#953;&#947;&#961;&#945;&#966;Î®&#39;, &#39;&#932;&#949;&#956;/&#922;&#953;&#946;.&#39;, &#39;&#928;&#959;&#963;ÏŒ&#964;&#951;&#964;&#945;&#39;],<br />&#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:10, sortable: true, sorttype:"int", hidden:true, editrules:{edithidden:true} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;code&#39;, sortable: true, width:10, sorttype:"text" },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;desc&#39;,index:&#39;description&#39;, width:100, sortable: true, editable:false, sorttype:"text" },<br />&#160;&#160;&#160; {name:&#39;item&#39;,index:&#39;item&#39;, width:12, sortable: true, editable:false, sorttype:"text" },<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, sortable: true, editable:true, width:15, sorttype:"int", formatter:&#39;integer&#39;, editrules:{required: true, integer: true, minValue: 1} }&#160;&#160;&#160; //formatter:&#39;checkbox&#39;,editoptions:{value:&#8220;true:false&#8221;}<br />&#160;&#160;&#160; ],</p>
<p>&#160;&#160;&#160; pager: jQuery(&#39;#pager2&#39;),</p>
<p>&#160;&#160;&#160; rowNum:10,</p>
<p>&#160;&#160;&#160; rowList:[10,20,30],</p>
<p>&#160;&#160;&#160; imgpath: &#39;../admin/js/jgrid/themes/basic/images&#39;,<br />&#160;&#160;&#160; sortname: &#39;sequence&#39;,</p>
<p>&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; cellEdit: true,<br />&#160;&#160;&#160; cellurl: &#8220;include/jgrid_update.php&#8221;,<br />&#160;&#160;&#160; cellsubmit: &#8220;clientArray&#8221;,<br />&#160;&#160;&#160; sortorder: &#8220;asc&#8221;,<br />&#160;&#160;&#160; caption: &#8220;&#928;&#961;&#959;ÏŠÏŒ&#957;&#964;&#945;&#8221;,<br />&#160;&#160;&#160; width: 825,<br />&#160;&#160;&#160; height: 250,<br />&#160;&#160;&#160; loadonce: true,<br />&#160;&#160;&#160; editurl:&#8221;include/jgrid_update.php&#8221;,<br />&#160;&#160;&#160; pager: jQuery(&#39;#pager2&#39;),<br />&#160;&#160;&#160; onSelectRow: function(id){<br />&#160;&#160;&#160; if(id &#38;&#38; id!==lastSel){<br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#39;#list2&#39;).restoreRow(lastSel);&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; lastSel=id;<br />&#160;&#160;&#160; }&#160;&#160;&#160; </p>
<p>&#160;&#160;&#160; jQuery(&#39;#list2&#39;).editRow(id, true );</p>
<p>&#160;&#160;&#160; },<br />&#160;&#160;&#160; onRightClickRow: function(id){<br />&#160;&#160;&#160; alert(&#8221;&#916;&#949;&#957; &#949;&#960;&#953;&#964;&#961;Î­&#960;&#949;&#964;&#945;&#953; &#964;&#959; &#948;&#949;&#958;Î¯ &#954;&#955;&#953;&#954;!&#8221;);<br />&#160;&#160;&#160; return false;<br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; afterSaveCell: function(id){<br />&#160;&#160;&#160; $(&#39;#list2 td.dirty-cell&#39;).removeClass(&#8221;dirty-cell edit-cell&#8221;);<br />&#160;&#160;&#160; $(&#39;#list2 tr.edited&#39;).removeClass(&#8221;edited&#8221;);<br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; afterEditCell: function(id){<br />&#160;&#160;&#160; //alert(&#8221;test 2&#8243;);<br />&#160;&#160;&#160; <br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; beforeEditCell: function(id){<br />&#160;&#160;&#160; //alert(&#8221;test 345&#8243;);<br />&#160;&#160;&#160; jQuery(&#8221;#list2&#8243;).setColProp(&#39;amount&#39;,{sortable: true}); <br />&#160;&#160;&#160; }<br />});</p>
</p>
<p>jQuery(&#8221;#list2&#8243;).navGrid(&#39;#pager2&#39;,<br />&#160;&#160;&#160; {refresh: false, edit: false, add: false, del: false, search: false},<br />&#160;&#160;&#160; {height:280,reloadAfterSubmit:false}, // edit options<br />&#160;&#160;&#160; {height:280,reloadAfterSubmit:false}, // add options<br />&#160;&#160;&#160; {reloadAfterSubmit:false}, //delete options<br />&#160;&#160;&#160; {reloadAfterSubmit:false}</p>
<p>).navButtonAdd(&#39;#pager2&#39;,{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:&#8221;Delete&#8221;, buttonimg:&#8221;../admin/js/jgrid/themes/steel/images/row_delete.gif&#8221;, onClickButton: function delRow(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var id = jQuery(&#8221;#list2&#8243;).getGridParam(&#39;selrow&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var su=jQuery(&#8221;#list2&#8243;).delRowData(id);&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (!su){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; alert (&#8221;You don&#39;t have choose any products!&#8221;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />}).navButtonAdd(&#39;#pager2&#39;,{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:&#8221;Clear All&#8221;, buttonimg:&#8221;../admin/js/jgrid/themes/steel/images/tab_close-on.gif&#8221;, onClickButton: function clearAll(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var su=jQuery(&#8221;#list2&#8243;).clearGridData();<br />&#160;&#160;&#160; &#160;&#160;&#160; }</p>
<p>});</p>
</p>
<p>Am I doing something wrong?</p>
</p>
<p>Regards,</p>
<p>Dimitris Mexis</p>
]]></description>
        	        	<pubDate>Fri, 27 Mar 2009 19:44:47 +0200</pubDate>
        </item>
</channel>
</rss>