flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Sorting ArrayCollection not as expected
Date Fri, 25 Mar 2016 03:53:37 GMT
If you apply a compareFunction to the Sort, I think it passes in each item
and doesn't pass in the field value.

-Alex

On 3/24/16, 4:38 PM, "chris_d_k" <ck@christiankiefer.de> wrote:

>In the following test project the arrayCollection is changed after the
>refresh... but why?
>
><?xml version="1.0" encoding="utf-8"?>
><s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
>xmlns:s="library://ns.adobe.com/flex/spark" creationComplete="test()">
>    <s:navigationContent>
>        <s:Button label="Home" click="navigator.popToFirstView()"/>
>    </s:navigationContent>
>    <fx:Script></fx:Script>
></s:ViewNavigatorApplication>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Sorting-ArrayCollection-not
>-as-expected-tp12355.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message