- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Well i made a workaround for my problem:
protected function initializeHandler(event:FlexEvent):void
{
//at first fill, the entetiesAC.list will be set to a mx.data.DataList
numberRangeProxy.fill( entetiesAC );
//catch the CollectionEvent before the ListCollectionView.listChangeHandler gets the event
numberRangesAC.list.addEventListener(CollectionEvent.COLLECTION_CHANGE, collectionChangeHandler, false, int.MAX_VALUE, true);
}
protected function collectionChangeHandler(event: CollectionEvent) : void
{
if(event.kind == "add")
{
var i: int;
while((i=event.items.indexOf(null)) >= 0)
event.items.splice(i,1); //remove all null items
}
}
This works for me, but i think it is still a bug of LCDS and should be fixed!
Thanks
Views
Replies
Total Likes