Hello everyone,
I'm trying to set several ComboBoxs to show their dropdown without
scrolling. There are a few posts in the archive suggesting to set the
rowCount to the dataProvider.length :

    <mx:ComboBox id="MyCombo" dataProvider="{MyDataProvider}"
rowCount="{dataProvider.length}"/>

but I get an compile error ("undefined property 'dataProvider'")

This makes sense, since dataProvider isn't a property of my app, just of
this component. But I'd rather not type in the dataProvider name again, I'd
rather reference it. Do components have a self-reference that can be used in
their own bindlings? i.e.:

    rowCount ="{thisCompont.dataProvider.length}"

or do I have set each one directly:
    rowCount="{MyDataProvider.length}"

Thanks,
Derek




--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 


Reply via email to