flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Flex 3 Tree - Customised icons
Date Wed, 18 Dec 2013 17:02:32 GMT
Yes, you'll just have to do more customization and override more of the
renderer.  It might be faster to make a copy of TreeItemRenderer and
modify that.

On 12/18/13 4:59 AM, "Deepak MS" <megharajdeepak@gmail.com> wrote:

>I'm working on one of the flex 3 application currently. And I have a tree
>in it. It shows default folder icon(both expand and collapse icons are
>shown properly). Now I need to add a iconFunction to customise the folder
>icons based on data. But in iconFunction I can return only one icon. I
>to return 2 icons, one for expand state and another one for collapsed
>I can use folderOpenIcon and folderClosedIcon on the tree directly, but
>here I cannot assign the icons based on data. I can do it only in
>Is there a way we can achieve this?

View raw message