Here is what Alex Harui posted on his blog as a response to my question:

"Alex, is there any way to scroll just a branch level of the list
classes currently or going forward in flex 3 or 4?

Might seem like an odd request, but I have a few projects that need a
"tree like" control where just the branch levels would be scrollable
within the confines of the parent container.

Thanks."

---------------------

FROM ALEX:

To do that with Tree would be difficult, probably a difficulty rating
of 8 out of 10. The key factor is your selection model. How do users
select items? Can they select the top-level nodes? How will scrollbars
work? One for the whole container or one for each open node? I would
definitely consider creating a custom expand/collapse class that
shows/hides a List of subnodes and just fill a VBox with those things
and then handle selection somehow.


-----------------------

This is making me completely reconsider my design ideas and I'm now
dropping back to extending scrollbase as even VBox's are giving me
issues with dropshadows above and below subnode containers. Apparently
I'm going to have to handle all of the layout and moving myself which
is what I was hoping to get around by using one of the existing
controls as a starting point. 

When does loading a sub section lazily become an advantage versus
loading the entire tree up front? i will likely be dealing with under
a thousand nodes so I'm wondering if I should be concerned.

Cheers.



Reply via email to