You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/17 04:57:15 UTC
[jira] [Updated] (FLEX-15508) Change selection by selectedIndex
won't change into wrong position
[ https://issues.apache.org/jira/browse/FLEX-15508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean updated FLEX-15508:
---------------------------------
Labels: easytest (was: )
> Change selection by selectedIndex won't change into wrong position
> ------------------------------------------------------------------
>
> Key: FLEX-15508
> URL: https://issues.apache.org/jira/browse/FLEX-15508
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Tree
> Affects Versions: Adobe Flex SDK 3.1 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Labels: easytest
>
> Steps to reproduce:
> 1.refresh children list twice by item.children = <some value>;
> 2.select a child node
> 3.select parent node by:
> var parentItem:Object = getParentItem(selectedItem);
> var index:int = getItemIndex(parentItem);
> trace("before changing:" + index);
> selectedIndex = index;
> trace("after changing:" + selectedIndex);
>
> Actual Results:
> output:
> before changing: 7
> after changing: 8
> select the first node of parent
> Expected Results:
> output:
> before changing: 7
> after changing: 7
> select the parent node
>
>
> Workaround (if any):
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira