Hi,

I have a little problem here.

I have a check box tree that works fine most of the time. I have run into a
bug that I didn't have before.

I have debugged it using the debugger and found the 'problem'. When you
assign an XML dataProvider, I use a dataDescriptor that sets an @toggled
attribute on the model.

The problem is, the XMLChangeNotifier sends an attributeChanged event and
eventually down the line, the Tree gets a CollectionChange event that is a
'reset' right at the end of a toggle on the check box.

The problem is, if the Tree is scrolled, it resets the scroll position to 0
every time becasue of the reset event.

I have tried doing a hac blobk during toggle select but, it ends up messing
the view of the Tree.

How can I fix this?

Peace, Mike

--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to