Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache Flex 4.14.1
-
None
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
- blocks
-
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
- Resolved
- is related to
-
FLEX-34927 Allow the setting of an arbitrary property on an object via ObjectUtil
- Resolved