Hi Luke,
I couldn't find any solution to this, but found a workaround.
Just filter the underlying ArrayCollection, set it as source for the
grouping collection and refresh the collection.
ac.filterFunction = theFilterFunc;
gc.source = ac;
gc.refresh();
adg.expandAll();
This works for me.
_rico
On 25.02.2009, at 03:25, luke_lee1124 wrote:
Error: Bookmark no longer valid.
at
ListCollectionViewCursor/seek()[E:\dev\3.1.0\frameworks\projects
\framework\src\m\
x\collections\ListCollectionView.as:2055]
at
mx.collections::HierarchicalCollectionViewCursor/
collectionChangeHandler()[C:\wo\
rk\flex\dmv_automation\projects\datavisualisation\src\mx\collections
\Hierarchica\
lCollectionViewCursor.as:1116]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.collections::HierarchicalCollectionView/
nestedCollectionChangeHandler()[C:\wo\
rk\flex\dmv_automation\projects\datavisualisation\src\mx\collections
\Hierarchica\
lCollectionView.as:1199]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.collections::ListCollectionView/dispatchEvent()[E:\dev
\3.1.0\frameworks\proje\
cts\framework\src\mx\collections\ListCollectionView.as:833]
at
mx.collections::ListCollectionView/addItemsToView()[E:\dev
\3.1.0\frameworks\proj\
ects\framework\src\mx\collections\ListCollectionView.as:931]
at
mx.collections::ListCollectionView/listChangeHandler()[E:\dev
\3.1.0\frameworks\p\
rojects\framework\src\mx\collections\ListCollectionView.as:1051]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.collections::ArrayList/internalDispatchEvent()[E:\dev
\3.1.0\frameworks\projec\
ts\framework\src\mx\collections\ArrayList.as:510]
at
mx.collections::ArrayList/addItemAt()[E:\dev\3.1.0\frameworks
\projects\framework\
\src\mx\collections\ArrayList.as:311]
at
mx.collections::ListCollectionView/addItemAt()[E:\dev
\3.1.0\frameworks\projects\\
framework\src\mx\collections\ListCollectionView.as:501]
at
components.section_page_manager::section_page_add_form/addPage()[D:
\xampp\htdocs\
\flex\survey_builder_v3\src\components\section_page_manager
\section_page_add_for\
m.mxml:206]
at
components.section_page_manager::section_page_add_form/doSave()[D:
\xampp\htdocs\\
flex\survey_builder_v3\src\components\section_page_manager
\section_page_add_form\
.mxml:93]
at
components.section_page_manager::section_page_editor/
__btnSave_click()[D:\xampp\\
htdocs\flex\survey_builder_v3\src\components\section_page_manager
\section_page_e\
ditor.mxml:94]