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

Allow sorting by complex fields in ListCollectionView

    XMLWordPrintableJSON

Details

    Description

      Currently the only way to sort by complex fields (e.g. "address.street") is to not specify any sort fields and to use a custom compare function which knows which fields to check.

      Expected behaviour: The code below sorts the items by the address.street field:

      const sortByNameAscending:Sort = new Sort();
      sortByNameAscending.fields = [new SortField("address.street", false, false)];
      _sut.sort = sortByNameAscending;
      

      Note this will allow FLEX-34837 to be fixed.
      Note you can follow / join the discussion here.

      Attachments

        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: