<?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: catch 'down' key when navigating JQgrid where cellEdit:true</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/catch-down-key-when-navigating-jqgrid-where-celledittrue</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/catch-down-key-when-navigating-jqgrid-where-celledittrue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>lizzard22 on catch 'down' key when navigating JQgrid where cellEdit:true</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/catch-down-key-when-navigating-jqgrid-where-celledittrue#p30423</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/catch-down-key-when-navigating-jqgrid-where-celledittrue#p30423</guid>
        	        	<description><![CDATA[<p>im trying to add some useful functionality in my jQgrid, and i need to get keydown on arrow keys. But cellEdit functionality which makes navigation with keys posible - overriding anything I try.</p>
<p>what I want to achieve for start:</p>
<p>&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellEdit:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype:"json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadComplete : function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(document).keydown(function( fn ){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var key = fn.keyCode;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if( key == 40 )<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log(&#39;Down Key Pressed&#39;);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if( key &#62; 47 &#38;&#38; key &#60; 107)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log(&#39;1-9/A-Z Key Pressed&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>this code will return 1-9/A-Z Key Pressed but WILL NOT return anything on arrow keys press;</p>
<p>any ideas why this is a thing and how can I work around it?</p>
]]></description>
        	        	<pubDate>Mon, 31 Mar 2014 13:25:12 +0300</pubDate>
        </item>
</channel>
</rss>