-
26 Nov 2010 7:17 AM #1
TextArea focus proplem
TextArea focus proplem
I use Ext.form.TextArea and Ext.form.ComboBox. User input text on textarea, and then can select some text from combobox to insert on textarea. How can I set cursor on textarea after 'select' event fires in combobox? (I try use focus() method, but it doesn't work, cursor is in combobox)
-
26 Nov 2010 7:47 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32
sounds to me like you're using Ext JS instead of Sencha Touch!

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
26 Nov 2010 7:51 AM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32
Moved to Ext JS help from Sencha Touch help.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
26 Nov 2010 7:51 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
And you double-posted too (answered in your other thread).
-
26 Nov 2010 7:52 AM #5Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32
Try calling yourTextArea.el.focus.defer(150, yourTextArea.el);

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
26 Nov 2010 7:52 AM #6Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 32

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
Similar Threads
-
why the Ext.form.TextArea can't get focus???
By mychirs in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 19 May 2009, 4:54 PM -
why the Ext.form.TextArea can't get focus???
By mychirs in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 18 May 2009, 4:31 AM -
move cursor on textarea focus? Can it be done?
By silcreval in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 1 Jul 2008, 11:16 PM -
Focus in textarea
By silcreval in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 8 Jun 2008, 9:52 AM -
Getting mouse focus on a textArea wrapped in a resizable ?
By jeama797 in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 3 Jun 2007, 12:26 PM


