<?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: Focus on specific field</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field</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/focus-on-specific-field/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Cosmos on Focus on specific field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27567</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27567</guid>
        	        	<description><![CDATA[<p>I will create new topic this one is not correctly explained</p>
]]></description>
        	        	<pubDate>Wed, 17 Oct 2012 20:39:24 +0300</pubDate>
        </item>
        <item>
        	<title>Cosmos on Focus on specific field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27565</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27565</guid>
        	        	<description><![CDATA[<blockquote>
<p>Cosmos said:</p>
<p>I tried somehting like setTimeout("jQuery(&#39;#list&#39;).editCell(1, 9, true);", 100); but it doesn&#39;t work exception is raised : saveCell : cm = $t.p.colModel[iCol], nm = cm.name, nmjq = $.jgrid.jqID(nm) ; cm.name undefined</p>
</p>
<p>I just want something to go in the next row If i try to click on Enter nothing happen &#8230;</p>
</p>
<p>Thank you for your help</p>
</blockquote>
<hr />
<p>I have tried this It is working well on few lines but after&#160;the datagrid focus is lost ???? :</p>
<p>if(key == 38) { //up arrow</p>
<p>var gridArr = $("#list").getDataIDs();</p>
<p>var selrow = $("#list").getGridParam("selrow");</p>
<p>var curr_index = 0;</p>
<p>for (var i = 0; i &#60; gridArr.length; i++) {</p>
<p>if (gridArr[i] == selrow)</p>
<p>curr_index = i;</p>
<p>}</p>
<p>if ((curr_index - 1) &#62;= 0)</p>
<p>{</p>
<p>$(&#39;#list&#39;).saveRow(selrow, false, &#39;clientArray&#39;);</p>
<p>$("#list").resetSelection().setSelection(gridArr[curr_index - 1], true);</p>
<p>$(&#39;#list&#39;).editRow(selrow - 1, true, null, null, &#39;clientArray&#39;, {}, null, null, null, false, null);</p>
<p>}</p>
<p>}</p>
<p>&#160;</p>
]]></description>
        	        	<pubDate>Wed, 17 Oct 2012 19:18:31 +0300</pubDate>
        </item>
        <item>
        	<title>Cosmos on Focus on specific field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27561</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27561</guid>
        	        	<description><![CDATA[<p>I tried somehting like setTimeout("jQuery(&#39;#list&#39;).editCell(1, 9, true);", 100); but it doesn&#39;t work exception is raised : saveCell : cm = $t.p.colModel[iCol], nm = cm.name, nmjq = $.jgrid.jqID(nm) ; cm.name undefined</p>
</p>
<p>I just want something to go in the next row If i try to click on Enter nothing happen &#8230;</p>
</p>
<p>Thank you for your help</p>
]]></description>
        	        	<pubDate>Wed, 17 Oct 2012 15:03:11 +0300</pubDate>
        </item>
        <item>
        	<title>Cosmos on Focus on specific field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27560</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/focus-on-specific-field#p27560</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I have created a datagrid with multiple column, only one is editable.</p>
<p>I want to add the feature up/down arrow in order to go in the previous or next rows.</p>
</p>
<p>I have added the foolowing code to the target column :</p>
<p>editoptions: { dataEvents: [</p>
<p>{</p>
<p>type: &#39;keydown&#39;,</p>
<p>fn: function (e) {</p>
<p>var key = e.charCode &#124;&#124; e.keyCode;</p>
<p>if(key == 40) { //down arrow</p>
<p>//TODO go next column row }</p>
<p>if(key == 38) { //up arrow</p>
<p>//TODO go previouscolumn row}</p>
<p>}</p>
<p>}</p>
</p>
<p>Any help ?</p>
</p>
<p>Thank you</p>
]]></description>
        	        	<pubDate>Wed, 17 Oct 2012 14:22:16 +0300</pubDate>
        </item>
</channel>
</rss>