On 5/14/13 10:33 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:

> Hi,
> 
>>> I looked at FLEX-16857, and IMO, it is not a bug.  The code is not calling
>>> refresh after setting sort = null and before adding items.  I haven't tried
>>> it, but I suspect that would avoid the error.
>> That is broken as well the objects are still sorted rather than reverting to
>> their original order.
> 
> First line of internalRefresh called by refresh causes the "new" issue:
> 
>     private function internalRefresh(dispatch:Boolean):Boolean
>     {
>         if (sort || filterFunction != null)
> 
I'm not following you.  Isn't sort null and filterFunction null?  That
should cause it to jump to the else and set localIndex = null.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to