Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28735

Spark list selecteditem after sort bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.5.1 (Release)
    • None
    • Spark: List
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: French

    Description

      Steps to reproduce:

      1.Give an ArrayCollection as DataProvider for a spark:List component
      2.Add an item to this ArrayCollection, programmatically select it in the list and apply a sort function to the collection to preserve an expected order with a Sort / refresh() logic.

      My simple goal : I want to preserve my ordered ArrayCollection even if i insert a new item.

      Actual Results:

      Only the first added item is well selected, not the others.

      Expected Results:
      Just like with SDK 4.1 (work well) or with mx:List, the last inserted item has to be selected after the sort logic.

      Workaround (if any):

      Not found after two days, i can't go back to sdk 4.1 because of other framework's bugs and i has to use spark:List because of is skinning capabilities.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: