views:

41

answers:

1

Normally in Flex you use a collection like ArrayCollection as the dataprovider for components. I often have data stored as a dictionary whose values I would like to use as a dataprovider.

How would you recommend doing this?

+1  A: 

Other than extending the "dataProvider using" component, or creating a ListCollectionView class that will use a Dictionary as a source; I think you're kind of stuck.

The list based components are designed to display data that comes in some form of order. Dictionary's have no such order.

www.Flextras.com