[
https://issues.apache.org/jira/browse/FLEX-25008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832800#comment-13832800
]
Alex Harui commented on FLEX-25008:
-----------------------------------
The columns set editable=false, so the editors and rendererIsEditor is not set
to true, so tabs will not go to the renderers.
> Tabbing will not work properly in the Datagridcomponent with the text input
> field as item renderer.
> ---------------------------------------------------------------------------------------------------
>
> Key: FLEX-25008
> URL: https://issues.apache.org/jira/browse/FLEX-25008
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: DataGrid
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
> layout="vertical"
> verticalAlign="middle"
> backgroundColor="white">
> <mx:ArrayCollection id="arrColl">
> <mx:source>
> <mx:Array>
> <mx:Object label="Student A" score="85" sid="1" />
> <mx:Object label="Student B" score="48" sid="2" />
> <mx:Object label="Student C" score="71" sid="3" />
> <mx:Object label="Student D" score="88" sid="4" />
> <mx:Object label="Student E" score="24" sid="5" />
> <mx:Object label="Student F" score="64" sid="6" />
> <mx:Object label="Student G" score="76" sid="7" />
> <mx:Object label="Student H" score="76" sid="8" />
> <mx:Object label="Student I" score="93" sid="9" />
> <mx:Object label="Student J" score="88" sid="10" />
> <mx:Object label="Student K" score="48" sid="11" />
> <mx:Object label="Student L" score="76" sid="12" />
> </mx:Array>
> </mx:source>
> </mx:ArrayCollection>
> <mx:Button label="No action"/>
> <mx:Button label="No action"/>
> <mx:DataGrid id="dataGrid"
> dataProvider="{arrColl}"
> editable="true"
> rowCount="8">
> <mx:columns>
> <mx:DataGridColumn dataField="sid"
> editable="false" />
> <mx:DataGridColumn editable="false" >
> <mx:itemRenderer>
> <mx:Component>
> <mx:TextInput text="{data.label}"/>
>
> </mx:Component>
> </mx:itemRenderer>
> </mx:DataGridColumn>
> <mx:DataGridColumn editable="false">
> <mx:itemRenderer>
> <mx:Component>
> <mx:TextInput text="{data.score}"/>
>
> </mx:Component>
> </mx:itemRenderer>
> </mx:DataGridColumn>
> </mx:columns>
> </mx:DataGrid>
> </mx:Application>
> Steps to reproduce:
> 1.Run the script.
> 2.Keep the mouse cursor in the first row textfield. Press 'tab' key to move
> to the next text field.
>
> Actual Results:
>
> The focus will not to move to the next texfield columnwise & rowwise properly.
>
> Workaround (if any):
> 1. creating method inside the itemrenderer with focus out handler that find
> the current row and column.
> and move on the cursor as per the condition.
--
This message was sent by Atlassian JIRA
(v6.1#6144)