On 12/24/15, 7:16 AM, "Ofir Herzas" <[email protected]> wrote:
>Hi, > >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 >property >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 >component) 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. -Alex
