<?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: Select value when enter a cell (celledit)</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit</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/select-value-when-enter-a-cell-celledit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>birt on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12523</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12523</guid>
        	        	<description><![CDATA[<p>Jo,</p>
<p>Thank you for clarifying this!</p>
</p>
<p>regards</p>
<p>birt</p>
]]></description>
        	        	<pubDate>Fri, 27 Nov 2009 08:45:01 +0200</pubDate>
        </item>
        <item>
        	<title>jpalac on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12459</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12459</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>Yes that happens if you use IE8 without the compatibility mode switched on. If you switch it on then it fixes the alignment issues.</p>
<p>I&#39;ve looked into it and it happens outside of the jqgrid as well - ie it&#39;s an IE8 bug.</p>
</p>
<p>Regards,</p>
</p>
<p>Jo</p>
]]></description>
        	        	<pubDate>Wed, 25 Nov 2009 17:18:51 +0200</pubDate>
        </item>
        <item>
        	<title>birt on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12417</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12417</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>It is a bit strange because my experience is that it to work the other way, Ok when leaving without save (pressing Esc) and "hangs" when saving (pressing Enter). For text fields I also notice that the width of the current cell is changed a bit when saved. (The right border is moved a bit to the left.) Do you have the same issue?</p>
</p>
<p>/birt</p>
]]></description>
        	        	<pubDate>Wed, 25 Nov 2009 09:30:37 +0200</pubDate>
        </item>
        <item>
        	<title>jpalac on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12401</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12401</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;m using jqGrid 3.6.1 and having this problem. It&#39;s strange as if you change the cell value then the focus is ok - it&#39;s only if you leave the value unchanged (ie RestoreCell is called instead of SaveCell) that the focus changes to the IE scrollbars.</p>
</p>
<p>Regards,</p>
</p>
<p>Jo</p>
]]></description>
        	        	<pubDate>Tue, 24 Nov 2009 17:02:06 +0200</pubDate>
        </item>
        <item>
        	<title>birt on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12388</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12388</guid>
        	        	<description><![CDATA[<p>Hi again,</p>
<p>Are there any changes to this behaviour (the focus moved to the IE8 scrollbars after saving cell) in jqGrid 3.6??</p>
<p>Will it work better if I upgrade jqGrid?</p>
</p>
<p>/birt</p>
]]></description>
        	        	<pubDate>Tue, 24 Nov 2009 06:06:01 +0200</pubDate>
        </item>
        <item>
        	<title>jpalac on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12375</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12375</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>Yes it works in firefox but not in IE8 - have tried both normal and compatibility mode. The focus is shifted to the IE scrollbars.</p>
</p>
<p>Regards,</p>
</p>
<p>Jo</p>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 17:32:32 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12354</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12354</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Also maybe the right code should use setTimeout - i.e:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6186' value='Select Code' data-codeid='sfcode6186' /></p>
<div class='sfcode' id='sfcode6186'>
<p>setTimeout(function() { $(&#8221;#&#8221;+iRow+&#8221;_&#8221;+name,&#8221;#mygrid&#8221;).select().focus();},10);</p>
</div>
<p>Good practice is to use setTimeout when you try to focus some element. (instead that the timeout can be 0)</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 12:12:54 +0200</pubDate>
        </item>
        <item>
        	<title>birt on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12326</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12326</guid>
        	        	<description><![CDATA[<p>Thanks Tony!</p>
<p>For me it seems to work with both select() and select().focus() in FF, might be browser dependent?</p>
</p>
<p>However, I can feel that the focus sometimes becomes elsewhere after editing a cell in IE8. This happens independent of if the function you suggested is active or not. It looks like if the cell width is decreased and then you can&#39;t navigate with the keyboard&#39;s arrow buttons any more.</p>
</p>
<p>Regards</p>
<p>birt</p>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 08:12:20 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12273</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12273</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Seems like with select() we loose the focus. try select().focus() - not sure if this is the appropriate approach.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 21 Nov 2009 08:01:36 +0200</pubDate>
        </item>
        <item>
        	<title>jpalac on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12209</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12209</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;d also like to achieve the same effect. The above suggestion works, however if I press Esc to cancel out of cell editing I lose the keyboard navigation (ie pressing the arrow buttons no longer does anything - the focus is else where). The problem does not occur if I change the value of the cell and press Enter. If value is not changed and Enter is pressed the problem still occurs.</p>
</p>
<p>Regards,</p>
</p>
<p>Jo</p>
]]></description>
        	        	<pubDate>Thu, 19 Nov 2009 19:32:31 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12028</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p12028</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>use afterEditCell something like this</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7694' value='Select Code' data-codeid='sfcode7694' /></p>
<div class='sfcode' id='sfcode7694'>
<p>...</p>
<p>afterEditCell : function(rowid, name, value, iRow, iCol) {</p>
<p>$("#"+iRow+"_"+name,"#mygrid").select();</p>
<p>}</p>
<p>...</p>
</p>
</div>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 17 Nov 2009 00:42:38 +0200</pubDate>
        </item>
        <item>
        	<title>birt on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p11907</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p11907</guid>
        	        	<description><![CDATA[<p>Yes, I know it was kind of cryptic question. I will try to eplain better:</p>
<p>I would like to enter especially numbers/digits to a cell (using celledit) without having to erase to old value first. I would like the old value to be deleted or selected immediately when "opening" the cell. Something like this:</p>
<p><a href="http://i37.tinypic.com/292b1jn.jpg" rel="nofollow" target="_blank">http://i37.tinypic.com/292b1jn.jpg</a></p>
</p>
<p>As I wrote the main purpose is for cells with value=0. When opening a cell like this:</p>
<p><a href="http://i36.tinypic.com/fdhv9c.jpg" rel="nofollow" target="_blank">http://i36.tinypic.com/fdhv9c.jpg</a></p>
</p>
<p>If I type a value (56) without deleting the old it will look like this (not desired):</p>
<p><a href="http://i37.tinypic.com/28quiv5.jpg" rel="nofollow" target="_blank">http://i37.tinypic.com/28quiv5.jpg</a></p>
</p>
<p>(But what I want is this:)</p>
<p><a href="http://i38.tinypic.com/2w3xmrd.jpg" rel="nofollow" target="_blank">http://i38.tinypic.com/2w3xmrd.jpg</a></p>
</p>
<p>I realize that this is maybe not a very big or common problem but do you have any solution that I can try??</p>
</p>
<p>regards</p>
<p>birt</p>
]]></description>
        	        	<pubDate>Fri, 13 Nov 2009 09:23:41 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p11860</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p11860</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Sorry - do not understand.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 11:02:27 +0200</pubDate>
        </item>
        <item>
        	<title>birt on Select value when enter a cell (celledit)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p11832</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-value-when-enter-a-cell-celledit#p11832</guid>
        	        	<description><![CDATA[<p>Hello!</p>
</p>
<p>I&#39;m using celledit (jqGrid ver 3.5.3) and wonder if there is any way to make a value selected immediately when enter the cell with celledit. The main purpose is for cells with value=0. When edit a cell like that you have to first erase the "0" and then enter the new value. Otherwise the new value will be the "0" concatenated with the entered value (like 065). It doesn&#39;t look very nice.</p>
</p>
<p>/birt</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 03:42:14 +0200</pubDate>
        </item>
</channel>
</rss>