<?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: jQGrid keyboard navigation on grid with subgrids</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids</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/jqgrid-keyboard-navigation-on-grid-with-subgrids/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jQGrid keyboard navigation on grid with subgrids</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30972</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30972</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Thanks for the investigation.</p>
<p>You are right - we should madeÂ  checking in order to have movement only in the current grid (and not in the subgrid or row thatÂ  is custom created in grid)</p>
<p>Â </p>
<p>I will see if I can fix this for the next release - if so I will let you know.</p>
<p>Â </p>
<p>Kind Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 12:43:15 +0300</pubDate>
        </item>
        <item>
        	<title>ZX10Tomcat on jQGrid keyboard navigation on grid with subgrids</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30962</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30962</guid>
        	        	<description><![CDATA[<p>Thank you for your answer!</p>
<p>But I think the problem isn't in it, I'm already have idprefix. here's my grid definitionsÂ (sorry for messy).</p>
<p>$("#EditTimeGrid").jqGrid({<br />
 datatype: "local",<br />
 loadonce: true,<br />
 multiselect: false,<br />
 data: mainData,<br />
 scrollrows: true,<br />
 height: "100%",<br />
 colNames: ['@Resource.ID', '', 'MainID', 'FullDate', '@Resource.Date', '@Resource.Day', 'DayNum', '@Resource.Project_Category',<br />
 '@Resource.Start', '@Resource.End', '@Resource.Lunch', '@Resource.BillHours', '@Resource.NonBillHours', '@Resource.TotalHours',<br />
 '@Resource.Notes', '', 'start', 'end', '', ''],</p>
<p>...</p>
<p>rowattr: function (rd) {<br />
 return { "class": "boldRow" };<br />
 },<br />
 rowNum: 10,<br />
 //rowList: [5, 10, 20],<br />
 //gridview: true,<br />
 cellEdit: editMode,<br />
 cellsubmit: 'clientArray',<br />
 ignoreCase: true,<br />
 rownumbers: true,<br />
 // sortname: 'DayAsNumber',<br />
 // sortorder: "asc",<br />
 viewrecords: true,<br />
 autoencode: true,<br />
 footerrow: true<br />
 , idPrefix: "s_"</p>
<p> , subGrid: true</p>
<p>Â </p>
<p>and for subgrid</p>
<p>$subgrid.jqGrid({<br />
 datatype: "local"<br />
 , scrollrows: true<br />
 , multiselect: false<br />
 , data: sd</p>
<p>...</p>
<p>, height: "100%"<br />
 , rowNum: 10<br />
 , autoencode: true<br />
 //gridview: true,<br />
 , cellEdit: editMode<br />
 , cellsubmit: 'clientArray'<br />
 , idPrefix: rowId + "_"</p>
<p>Â </p>
<p>I've made some investigation and found a function in the jquery.jqgrid.src.js file</p>
<p>(line 10282)</p>
<p>.keydown(function (e) {</p>
<p>...</p>
<p>switch (kdir) {<br />
 case 38:<br />
 if ($t.p.iRow - 1 &#62; 0) {<br />
 scrollGrid($t.p.iRow-1,$t.p.iCol,'vu');<br />
 $($t).jqGrid("editCell",$t.p.iRow-1,$t.p.iCol,false);<br />
 }<br />
 break;</p>
<p>Â </p>
<p>If we press right or left arrow, we found next visible column, but if we pressed up or down key we just go to next or previous row, even if it's a subgrid's invisible row. Â Maybe I'm wrong with my opinions.</p>
]]></description>
        	        	<pubDate>Mon, 18 Aug 2014 12:29:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on jQGrid keyboard navigation on grid with subgrids</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30942</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30942</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>One possible reason for this is that you have eqial id in grid and subgrid - i.e you have id = 1 in grid and id = 1 in subgrid.</p>
<p>To resolve the problem you will need to use idPrefix in subgrid. See docs.</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 11 Aug 2014 14:50:11 +0300</pubDate>
        </item>
        <item>
        	<title>ZX10Tomcat on jQGrid keyboard navigation on grid with subgrids</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30928</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-keyboard-navigation-on-grid-with-subgrids#p30928</guid>
        	        	<description><![CDATA[<p>I have a jQGrid with subgrid. I have an active cell</p>
<p><a href="http://i.stack.imgur.com/uyIUN.png"><img src="http://i.stack.imgur.com/uyIUN.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>and when I press down arrow on keyboard cursor is disappeared. Obviously it goes to subgrid, but I wish that it goes to next visible row or to subgrid row, if existÂ </p>
<p><a href="http://i.stack.imgur.com/nN7uR.png"><img src="http://i.stack.imgur.com/nN7uR.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
]]></description>
        	        	<pubDate>Wed, 06 Aug 2014 11:22:17 +0300</pubDate>
        </item>
</channel>
</rss>