<?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: Setting focus on a cell after entering edit mode</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setting-focus-on-a-cell-after-entering-edit-mode</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/setting-focus-on-a-cell-after-entering-edit-mode/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Victor Garcia on Setting focus on a cell after entering edit mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-focus-on-a-cell-after-entering-edit-mode#p12301</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-focus-on-a-cell-after-entering-edit-mode#p12301</guid>
        	        	<description><![CDATA[<p>It works perfectly, thanks so much! 😀</p>
]]></description>
        	        	<pubDate>Sun, 22 Nov 2009 16:42:27 +0200</pubDate>
        </item>
        <item>
        	<title>dinoboy on Setting focus on a cell after entering edit mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-focus-on-a-cell-after-entering-edit-mode#p12219</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-focus-on-a-cell-after-entering-edit-mode#p12219</guid>
        	        	<description><![CDATA[<p>Yes you can. If ondblClickRow handler is defined like this, it should work:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1993' value='Select Code' data-codeid='sfcode1993' /></p>
<div class='sfcode' id='sfcode1993'>function editRow(rowId, rowIndex, columnIndex) {<br />&#160; var grid = $(&#39;#mygrid&#39;);<br />&#160; grid.editRow(rowId, true, function() {<br />&#160;&#160;&#160; var colModel = grid.getGridParam(&#39;colMode&#39;);<br />&#160;&#160;&#160; var colName = colModel[colIndex].name;<br />&#160;&#160;&#160; var input = $(&#39;#&#39; + rowId + &#39;_&#39; + colName);<br />&#160;&#160;&#160; input.get(0).focus();<br />&#160; });<br />}</div>
<p>The only tricky part here is to get column name based on column index, because ondbClickRow doesn&#39;t include column name directly.</p>
]]></description>
        	        	<pubDate>Fri, 20 Nov 2009 04:17:32 +0200</pubDate>
        </item>
        <item>
        	<title>Victor on Setting focus on a cell after entering edit mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setting-focus-on-a-cell-after-entering-edit-mode#p12153</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setting-focus-on-a-cell-after-entering-edit-mode#p12153</guid>
        	        	<description><![CDATA[<p>Hi everyone!</p>
</p>
<p>I am currently using a very wide grid (a lot of horizontal overflow) and its quite annoying that when I want to edit one of the columns in the far right part of the grid and I double click the row to make it editable (inline edit), the cell to gain focus is the first within the row making the whole grid to scroll to the left.</p>
</p>
<p>I have seen that the onDblclick event handler receives the row and the column of the clicked cell as parameters. Is there any way we can use those parameters to set the focus on that cell? This is driving me crazy...</p>
</p>
<p>Thanks so much 🙂</p>
]]></description>
        	        	<pubDate>Thu, 19 Nov 2009 00:08:45 +0200</pubDate>
        </item>
</channel>
</rss>