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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache Flex 4.14.0
    • Apache Flex 4.15.0
    • Spark: DataGrid
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: