<?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: set focus to first editable cell in row</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/set-focus-to-first-editable-cell-in-row</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/set-focus-to-first-editable-cell-in-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jreisz on set focus to first editable cell in row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/set-focus-to-first-editable-cell-in-row#p21514</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/set-focus-to-first-editable-cell-in-row#p21514</guid>
        	        	<description><![CDATA[<p>What I want to do is set focus and select the contents of a specific cell when editing a row or set focus to the first editable cell in the row.&#160;&#160;FYI, I am using inline editing.&#160; I thought I could accomplish this within the edit row function:</p>
<p>var item = $("#" + rowid + "_Value", "#grd");</p>
<p>item.focus();</p>
<p>item.select();</p>
<p>Unfortunately, this doesn&#39;t set focus to the cell and to get focus of the "Value" cell I need to click in the textbox for "Value".</p>
<p>colModel: [</p>
<p>{ name: &#39;Id&#39;, index: &#39;Id&#39;, hidden: true, editable: true, editrules: { edithidden: true} },</p>
<p>{ name: &#39;Description&#39;, index: &#39;Description asc&#39;, width: 270, editable: false },</p>
<p>{ name: &#39;Value&#39;, index: &#39;Value&#39;, width: 240, editable: true },</p>
<p>{ name: &#39;DataType&#39;, index: &#39;DataType&#39;, hidden: true, editable: false }</p>
<p>FYI, I am using IE 8 and jqGrid 3.8.1.</p>
<p>Thanks for your help.</p></p>
]]></description>
        	        	<pubDate>Mon, 03 Jan 2011 20:08:05 +0200</pubDate>
        </item>
</channel>
</rss>