flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (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 10:41:17 GMT

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

Maurice Amsellem edited comment on FLEX-33869 at 10/31/13 10:40 AM:
--------------------------------------------------------------------

When changing anything that could affect the filtering or sorting of a DataGrid, you need
to call collection.refresh() for the change to take effect.
There is no magic there.




was (Author: mamsellem):
When changing anything that could affect the filtering or sorting of a DataGrid, you need
to call collection.refresh() for the change to take effect.
There is no magic there.

> 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