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

DataGrid sorted with complex dataField doesn't keep track of changes to those fields, leading to RTE when trying to remove selected item

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Apache Flex 4.14.0
    • Fix Version/s: Apache Flex 4.15.0
    • Component/s: Spark: DataGrid
    • Labels:
      None

      Description

      Steps to reproduce: run attached application (steps are on the stage).

      Note that GridItemEditor.save() has a trick to re-run the sort, but a custom grid editor or a programmatic change will not do that trick, leading to the RTE.

      Another summary for this issue could be ListCollectionView doesn't keep track of changes to the complex fields it's being sorted by.

        Attachments

        1. FLEX-34837.ZIP
          4 kB
          Mihai Chira
        2. gridSortedByDateValueInsteadOfLabel.png
          10 kB
          Mihai Chira

          Issue Links

            Activity

              People

              • Assignee:
                evolverine Mihai Chira
                Reporter:
                evolverine Mihai Chira
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: