Maybe the labelFunction of DataGridColumn helps?
Cheers
Ralf.

On 9/25/07, nakedintruderdesign <[EMAIL PROTECTED]> wrote:
>
>   Hi all,
> I'm quite new to OOP and would appreciate some help if anyone can
> spare me the time?
>
> I've written some ActionScript classes in Flex Builder 2 and to the
> best of my early knowledge, am (hopefully on the right track by...?)
> trying to keep my classes like a black box and only allowing access to
> their properties through their own API of methods.
>
> I have explicit getters for properties I would like to display in Flex
> display components whose dataProvider is an ArrayCollection of these
> classes for example.
>
> The problem is that eg: a DataGrid obviously isn't going to recognise
> my explicit getters as being properties I want to display.
>
> I don't know what to do here, I'd have though I shouldn't be making
> these properties public, and I don't really want to use implicit
> getters either.
>
> I'd appreciate any advice you might have, thanks a lot.
>
>  
>



-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35

Reply via email to