On 3/13/06, yaagcur <[EMAIL PROTECTED]> wrote:
> > <VBox implements="mx.controls.listclasses.IDropInListItemRenderer"
> ...> ...
>
> This gives error
>
> Interface method 'get listData' in namespace
> 'mx.controls.listclasses:IDropInListItemRenderer' not implemented by
> class 'careerRowRenderer'
Yes, you have to implement that interface. It's just one property
called `listData`.
> > Or you can simply access the property directly instead of going
> > through `listData.dataField`
> >
> > <mx:Label text="{dataObject.propertyIWantToAccess]}"
> >
> So I set this to e.g dataObject.Year and it works for the year column
> Is there someway I can set an array of properties - I note you show
> one square bracket - if so my attempts have failed to date.
That one bracket is a type.
> Or do I need to have a seperate cell renderer for each column
No - that was the whole point of abstracting that property access by
using `listData.dataField`. Please implement that property mentioned
above and it should work.
Manish
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/