This content has been marked as final. Show 5 replies
Looks like there are a few bugs with this. Normally you could use itemUpdated() to indicate to the collection (dataProvider) that an item changed, or call ICollectionView(menubar.dataProvider).refresh() to cause the dataProvider to do a full refresh and pick up the changes. Unfortunately, there are some bugs with this and I've filed them.
As a workaround - what you can do is re-assign the dataProvider once the change has been made to your ArrayCollection. Doing that causes the menubar items to be re-created and they will pick up all changes.
Reassigning the DP works great :)
What else could I try to FORCE a redraw of a chart when you did not change the DP?
In Flex 3.2, it looks like the bug with ICollectionView has been fixed. Adding the following line resolved my issue with the menu bar not updating: