jump to navigation

HierarchicalCollectionView: Sort/Filter issues March 26, 2008

Posted by Tom Ortega II in ADG, AdvancedDataGrid, Filtering, Flex, HierarchicalCollectionView, Sorting.
2 comments

We’re working with the AdvancedDataGrid pretty heavily here at Workday. Therefore, we find ourselves using HierarchicalCollectionView by default since ADG wraps HierarchicalData in one.

The problems that we’re encountering is with filtering. I opened up my first Flex Bugbase Jira (woohoo!), so please go vote for it. https://bugs.adobe.com/jira/browse/FLEXDMV-1700

If you set the filterFunction property to null in any other collection, that means you’re done filtering. Since there’s no filterFunction, every item should be shown in the collection and any past filter results should be removed. HierarchicalCollectionView just says, “Well, if there isn’t a filterFunction, then we don’t need to update the data at all.” Bummer. 😦

To see what I mean, check out my test app I submitted with the Jira. It’s located here and has view source enabled so you can make sure I’m not crazy! 🙂

Be sure to vote for sameer’s Sort bug as well: https://bugs.adobe.com/jira/browse/FLEXDMV-1594 It’s pretty much the same thing only for Sorting instead of filtering.