Hi,
I'm using a ComboBox with an ArrayCollection as dataProvider.
This ArrayCollection is the source of an AdvancedDataGrid GroupingCollection.
If the users clicks on an item in the ComboBox,the ArrayCollection gets
filtered:
private function filterNodesInGrid():void
{
// assign filter function to the AdvancedDataGrid's dataProvider
IHierarchicalCollectionView(nodes.dataProvider).filterFunction =
filterByRfids;
// refresh the ADG's dataProvider
//found in the archives http://www.mail-
archive.com/[email protected]/msg95231.html
nodes.invalidateProperties();
IHierarchicalCollectionView(nodes.dataProvider).refresh();
// expand all nodes
nodes.expandAll();
}
When the refresh is called, this error is thrown:
Bookmark no longer valid.
at
ListCollectionViewCursor/seek()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\coll
ections\ListCollectionView.as:2046]
... but beside the error, it works correct !?
Does anybody have an idea how to overcome this issue.
thank's
_rico