17 Aug 2010 4:08 PM #11
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
blur is the opposite of focus.Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!
19 Jan 2012 10:48 AM #12
Do you guys have any luck of making this work on the iPhone?
I've tried to create textfields in different ways as you were showing here, but still focus() is working only when I test in Chrome.
The code for setting focus is:
App.views.form.getComponent(nodeId).fieldEl.dom.focus();You're a true obsessive programmer, if your answers to the questions are totally correct and totally useless at the same time.
3 Jul 2012 7:42 PM #13
for hiding the keyboard use:
but I am having problem with showing keyboard when view changes. Setting the focus to textfield works only in chrome not in the device.
3 Jul 2012 7:44 PM #14
yes same here. its works in chrome perfectly not in the iPhone
13 Jul 2012 5:07 AM #15
what you think about this -> http://docs.sencha.com/touch/2-0/#!/...thod-fireEvent
15 Dec 2012 6:00 PM #16
fieldEl does not exist
I am trying to set the focus , like in the example , but the far I can go is .element
not fieldEl , either el .
how can I get fieldEl from element ?
By yanfa01 in forum Ext GWT: DiscussionReplies: 2Last Post: 6 May 2010, 12:23 AM
By Stephan123 in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 2 Nov 2009, 8:30 AM
By dinosauro in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 10 Sep 2008, 5:58 PM
By Ricardo72 in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 31 Jan 2008, 3:39 AM
By xucloudy in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 23 Dec 2007, 4:31 AM