flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: dropdownFactory for Spark ComboBox
Date Thu, 24 Dec 2015 15:33:05 GMT

On 12/24/15, 7:16 AM, "Ofir Herzas" <herzaso@gmail.com> wrote:

>I have a Spark tree component that I wrote based on List (Flex 4.13)
>Now I want to use that tree component in a Spark ComboBox instead of the
>usual dropdown list.
>In flex 3, I had it done via dropdownFactory but it seems that this
>is no longer available in flex 4.
>Any ideas how this can be accomplished?
>(I tried to replace the dataGroup component in the ComboBoxSkin but that
>just raised an exception saying that dataGroup can no accept my tree

Can you rewrite your Tree to subclass DataGroup instead of List?
Otherwise you may have to do more work on ComboBox to accept something
other than a DataGroup as the drop down.


View raw message