Hi
arrayCollection.removeAll() causes a crash, its is asssigned to a AD grid :
dataProvider="{clientSessionModel.processedOrders}"
public function set processedOrders(value:ArrayCollection):void
{
trace("_processedOrders set.");
_processedOrders.removeAll();
_processedOrders.source=value.source;
}
any idea friends?
Hi mate ![]()
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
at mx.collections::GroupingCollection/getChildren()[E:\dev\4.y\framework s\projects\advancedgrids\src\mx\collections\GroupingCollection.as:440]
at mx.collections::GroupingCollection/getSummaries()[E:\dev\4.y\framewor ks\projects\advancedgrids\src\mx\collections\GroupingCollection.as:887 ]
at mx.collections::GroupingCollection/updateSummary()[E:\dev\4.y\framewo rks\projects\advancedgrids\src\mx\collections\GroupingCollection.as:16 35]
at mx.collections::GroupingCollection/collectionChangeHandler()[E:\dev\4 .y\frameworks\projects\advancedgrids\src\mx\collections\GroupingCollec tion.as:1713]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.collections::ListCollectionView/dispatchEvent()[E:\dev\4.y\framewo rks\projects\framework\src\mx\collections\ListCollectionView.as:1024]
at mx.collections::ListCollectionView/removeItemsFromView()[E:\dev\4.y\f rameworks\projects\framework\src\mx\collections\ListCollectionView.as: 1697]
at mx.collections::ListCollectionView/listChangeHandler()[E:\dev\4.y\fra meworks\projects\framework\src\mx\collections\ListCollectionView.as:13 08]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.collections::ArrayList/internalDispatchEvent()[E:\dev\4.y\framewor ks\projects\framework\src\mx\collections\ArrayList.as:682]
at mx.collections::ArrayList/removeItemAt()[E:\dev\4.y\frameworks\projec ts\framework\src\mx\collections\ArrayList.as:495]
at mx.collections::ListCollectionView/removeItemAt()[E:\dev\4.y\framewor ks\projects\framework\src\mx\collections\ListCollectionView.as:762]
at mx.collections::ListCollectionView/removeAll()[E:\dev\4.y\frameworks\ projects\framework\src\mx\collections\ListCollectionView.as:782]
...
North America
Europe, Middle East and Africa
Asia Pacific