7/7/2010 7:14:50 AM
Title:
tab key focus issue with item renderer
Hi..
I am using List with custom itemrenderer. I want to navigate the focus on the text areas which are created in the item renderer with the tab key.
I read the content in the following link...
http://askmeflash.com/qdetail/704/itemrenderer-s-textinput-textarea-focus-problem-on-keyboard-tab-key
But now the problem is that I am getting error on the following lines:
this.listContent.tabChildren = this.tabChildren;
this.listContent.tabEnabled = this.tabEnabled;
I am using the flex 4 and extending the List.....I think these are the only differences with problem solved in link and in my problem.
Any solution...
Tyson
Points: 680
Posts:0
7/7/2010 11:25:37 AM
flex 4 uses spark componenets so the spark compoenent List must not be having the above 2 properties so giving eror
7/7/2010 11:20:20 PM
Then any idea about its replacement in flex 4.
Inder
Points: 2980
Posts:0
7/8/2010 3:08:39 AM
no need to extend the class for flex spark List component. You can set the property hasFocusableChildren to true to make children recieve the focus. set the property inside the List tag .
<s:List hasFocusableChildren="true"
12/8/2010 4:42:21 PM
Inder,
Thanks a lot. I had been looking for the way around and it helps.
8/30/2011 9:07:11 AM
This saved me hours, thanks!
10/10/2011 5:14:31 AM
I am facing a similar problem , I have a data grid I had used itemrenderer to columns , Now I want to use tab so that focus moves from one text field to next Itemrender text field , Can you please help me , I am using flex 3 .
Thanks
Pranay
2/14/2012 8:37:50 AM
Hi,
I am facing the similar issue.I am using the itemRenedere in datagrid .
Can you please help me on how to move focus from one text field to other when tab key is pressed.
Thanks,
Lavanya
2/20/2012 2:31:14 AM
I am also facing the same problem please me out.