[flexcoders] Retaining selected item in DataGrid (or List)

2009-04-08 Thread bnjmnhggns
I have an ArrayCollection that is the dataProvider for a DataGrid. Every 30 seconds the objects in the ArrayCollection get replaced with new objects based on data received from the server. At this point, whatever selection that the DataGrid had now disappears, even if an object with the same

[flexcoders] ListCollectionView w/ a filterFunction as a dataProvider - Flex 2

2009-04-06 Thread bnjmnhggns
Hi all, I've been having weird problems involving Lists, dataProviders, ListCollectionViews with and ArrayCollections. I was able to reproduce one of my problems below. I have a ListCollectionView (filtered_stuff) that's viewing an ArrayCollection (stuff). stuff initially just has one

[flexcoders] Re: ListCollectionView w/ a filterFunction as a dataProvider - Flex 2

2009-04-06 Thread bnjmnhggns
function. -TH --- In flexcoders@yahoogroups.com, bnjmnhggns bhiggins@ wrote: Hi all, I've been having weird problems involving Lists, dataProviders, ListCollectionViews with and ArrayCollections. I was able to reproduce one of my problems below. I have a ListCollectionView

[flexcoders] Re: ListCollectionView w/ a filterFunction as a dataProvider - Flex 2

2009-04-06 Thread bnjmnhggns
@yahoogroups.com, bnjmnhggns bhiggins@ wrote: Hi all, I've been having weird problems involving Lists, dataProviders, ListCollectionViews with and ArrayCollections. I was able to reproduce one of my problems below. I have a ListCollectionView (filtered_stuff) that's viewing

[flexcoders] Re: ListCollectionView w/ a filterFunction as a dataProvider - Flex 2

2009-04-06 Thread bnjmnhggns
); stuff.addItem({label: stuff.length}); filtered_stuff.refresh(); } -TH --- In flexcoders@yahoogroups.com, bnjmnhggns bhiggins@ wrote: I'm trying to find the bug and there's some that are close, like this one: https://bugs.adobe.com/jira/browse/SDK-11852 Do you know