flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Scheibe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33869) Using a filter function to hide item from a data provider has no effect on a spark list
Date Thu, 31 Oct 2013 13:07:19 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810225#comment-13810225
] 

Alexander Scheibe commented on FLEX-33869:
------------------------------------------

OK I will do that. 

Also one could argue the actual problem is how the ListCollectionView handles property change
events. 
Because when it handles the events in its handlePropertyChangeEvents function it only dispatches

CollectionChangeEvents of kind CollectionEventKind.UPDATE, even for items which have been

removed due to a property change. 
The ListCollectionView should instead dispatch CollectionChangeEvents of the kind CollectionEventKind.REMOVE
for those removed items.

> Using a filter function to hide item from a data provider has no effect on a spark list
> ---------------------------------------------------------------------------------------
>
>                 Key: FLEX-33869
>                 URL: https://issues.apache.org/jira/browse/FLEX-33869
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: List
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Alexander Scheibe
>         Attachments: FilteredTest.fxp
>
>
> Steps to re-produce the bug: 
> 1) have a data provider (ListCollectionView, e.g. ArrayCollection) with a filter function
and one item
> 2) change a property of that item so the filter function will hide it from the view.
> Is: 
> Item is still shown in the spark list
> Expected:
> Item is hidden in the list



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message