<?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: Trouble Focusing on Ipad</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad</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/trouble-focusing-on-ipad/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Trouble Focusing on Ipad</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31390</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31390</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes We can not do anything in this case.</p>
<p>About the question - new question - new thread.Â </p>
<p>Â </p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Wed, 19 Nov 2014 15:38:39 +0200</pubDate>
        </item>
        <item>
        	<title>Nahro on Trouble Focusing on Ipad</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31383</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31383</guid>
        	        	<description><![CDATA[<p>So,</p>
<p>Apperantly since IOs 7.0 Apple made it "near" impossible to set focus programmatically - you can only set Focus on a select few user initiated events, such as touchend/clickend events.</p>
<p>Even if it is kind of a bummer - I guess it can't be helped, thank you anyway for your help and replies.</p>
<p>Â </p>
<p>I have one other question regarding teh manipulation of attributes of the textboxes generated by the edit mode. But I am not sure if I should open a new Thread or just keep it in this one? (not so sure about the forum policies here...)</p>
]]></description>
        	        	<pubDate>Mon, 17 Nov 2014 12:19:26 +0200</pubDate>
        </item>
        <item>
        	<title>Nahro on Trouble Focusing on Ipad</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31363</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31363</guid>
        	        	<description><![CDATA[<p>Worked like a charm on my PC so far  <img src="http://www.trirand.com/blog/wp-includes/images/smilies/icon_biggrin.gif" alt=":D" class="spWPSmiley" style="max-height:1em;margin:0"  />  thank you very much - I will edit once I could test it on my Ipad!</p>
<p>thanks agains!</p>
]]></description>
        	        	<pubDate>Mon, 10 Nov 2014 09:20:25 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Trouble Focusing on Ipad</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31354</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31354</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>In the last release we have a parameter named <strong>focusField </strong> which should be a number represented the number of colModel start from 0. If set the desired field should be focused</p>
<div class="sfcode">
<pre class="brush-javascript syntax"><span class="function">jQuery</span>(<span class="string">'#list'</span>).<span class="function">jqGrid</span>(<span class="string">'editRow'</span>,id, { keys: true, focusField : 3} );</pre></div><p>Â </p>
<p>Another possible solution is to try to use oneditfunc which I recommend you in my previous post</p>
<div class="sfcode">
<pre class="brush-javascript syntax"><span class="function">jQuery</span>(<span class="string">'#list'</span>).<span class="function">jqGrid</span>(<span class="string">'editRow'</span>,id, {Â Â  keys: true,Â Â  oneditfunc : function( rowid) {Â Â Â Â  $("#"+rowid+"_NR").focus();Â Â  } <span class="constant">}</span>);</pre></div><p>Â </p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Sun, 09 Nov 2014 13:27:32 +0200</pubDate>
        </item>
        <item>
        	<title>Nahro on Trouble Focusing on Ipad</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31341</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31341</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Â </p>
<p>This is for example the way I tried to do it: (you can see I tried it via different ways)</p>
<div class="sfcode">
<pre class="brush-javascript syntax">onSelectRow: function(id){
Â Â  Â Â Â  Â Â Â  Â if(id!=lastsel){
Â Â  Â Â Â  Â Â Â  Â Â Â  Â jQuery('#list').jqGrid('saveRow',lastsel);
Â Â  Â Â Â  Â Â Â  Â Â Â  Â //Adding Value for Submission Counter
Â Â  Â Â Â  Â Â Â  Â Â Â  Â makeAmountOutput();
Â Â  Â Â Â  Â Â Â  Â Â Â  Â 
Â Â  Â Â Â  Â Â Â  Â Â Â  Â //Set Null, select new Row
Â Â  Â Â Â  Â Â Â  Â Â Â  Â lastsel = null;
Â Â  Â Â Â  Â Â Â  Â Â Â  Â jQuery('#list').jqGrid('editRow',id,true);
Â Â  Â Â Â  Â Â Â  Â Â Â  Â lastsel=id;
Â Â  Â Â Â  Â Â Â  Â Â Â  Â var focusElement = id+'_NR';
Â Â  Â Â Â  Â Â Â  Â Â Â  Â //alert(focusElement);
Â Â  Â Â Â  Â Â Â  Â Â Â  Â $(focusElement).focus();
Â Â  Â Â Â  Â Â Â  Â Â Â  Â //$(document).bind("mouseup",function(event) {
Â Â  Â Â Â  Â Â Â  Â Â Â  Â //Â Â  Â jQuery('#list').jqGrid('getCell',id,'NR').focus(); //selects specific row and underlying cell and sets the focus
Â Â  Â Â Â  Â Â Â  Â Â Â  Â //});
Â Â  Â Â Â  Â Â Â  Â }</pre></div><p>As I said in another Thread of mine (and most likely is shown by my lack of talent to format anything correctly ^^'')<br />
I am rather new to Jscript / HTML, but I start to get the hang of it.</p>
<p>Anyway I really appreciate the help - even though I have vanished for the past month...</p>
]]></description>
        	        	<pubDate>Thu, 06 Nov 2014 12:17:03 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Trouble Focusing on Ipad</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31191</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31191</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Depending on the editing module you may use a events which fire after the editing is build.</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Fri, 03 Oct 2014 13:32:24 +0300</pubDate>
        </item>
        <item>
        	<title>Nahro on Trouble Focusing on Ipad</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31170</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/trouble-focusing-on-ipad#p31170</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I am currently working on web-based app for a customer, basically what it should do is just output a grid with informations from a databse, and give the user the possibillity to a few information.<br />
This is all working quite ok, I just have one trouble getting the focus to the first editable cell in a selected row - BUT only on the Ipad/Iphone.</p>
<p>The focus works ok on a PC, on the Ipad the editmode starts correctly, and works fine, but isnt focusing anything - which means the customer needs to click on a row to start editing, then click into the textbox to actually open the virtual keyboard.</p>
<p>I have read up on the behaviour of the Ipad and it seems to be a common problem - solved by setting the focus by changing the touchend/mouseup event, but in context of jqGrid I just dont know how to do it.<br />
Did anybody here had the problem before and might know how to fix it?</p>
<p>thanks in advance!</p>
]]></description>
        	        	<pubDate>Thu, 02 Oct 2014 10:45:49 +0300</pubDate>
        </item>
</channel>
</rss>