PDA

View Full Version : TextArea focus proplem



blackcat
26 Nov 2010, 7:17 AM
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
sounds to me like you're using Ext JS instead of Sencha Touch!

26 Nov 2010, 7:51 AM
Moved to Ext JS help from Sencha Touch help.

Condor
26 Nov 2010, 7:51 AM
And you double-posted too (answered in your other thread).

26 Nov 2010, 7:52 AM
Try calling yourTextArea.el.focus.defer(150, yourTextArea.el);

26 Nov 2010, 7:52 AM
And you double-posted too (answered in your other thread).

closing this one.