I got the following exception when tring to expend a list in a grid
on flex3. It seems to me that the getFilteredItemIndex function in
class ListCollectionView caused the problem. More specifically, this
statement "(filterFunction(prevItem))" in function
getFilteredItemIndex caused the problem. I can't find this function
in ListCollectionView class on Flex2. So I am wondering if the new
function introduced the new bug. The code is working on flex 2. Any
help will be appreciated.
TypeError: Error #1006: value is not a function.
at mx.collections::ListCollectionView/getFilteredItemIndex()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\collections\ListCol
lectionView.as:564]
at mx.collections::ListCollectionView/addItemsToView()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\collections\ListCol
lectionView.as:894]
at mx.collections::ListCollectionView/listChangeHandler()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\collections\ListCol
lectionView.as:1049]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.collections::ArrayList/internalDispatchEvent()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\collections\ArrayLi
st.as:510]
at mx.collections::ArrayList/addItemAt()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\collections\ArrayLi
st.as:311]