try this...

theRDUList.dataProvider = mx.utils.ArrayUtil.toArray(group.nodes);

--- In [email protected], "cazzaran" <[EMAIL PROTECTED]> wrote:
> For some reason, I have one mx:List in mxml that refuses to show 
the
> contents of its dataProvider.
> 
> I have: 
> 
> <mx:List height="100%" width="100%" id="theRDUList"
> vScrollPolicy="auto" dragEnabled="false" change="" 
selectable="true"
> hScrollPolicy="auto"/>
> 
> And my code to change it is:
> 
> theRDUList.dataProvider = group.nodes;
> 
> The thing is, upon debug, I can see that group.nodes is full of an
> Array, *AND* the dataProvider property of theRDUList is ALSO full 
of
> the same data. So the dataProvider is getting set, but the list
> absolutely refuses to show anything, despite my attempts.
> 
> I've tried multiple labelField settings, labelFunc settings, adding
> implicit gets to my Node object (in the Array) so that nothing 
should
> be required on the MXML tag... nothing. And all my other lists 
work fine.
> 
> Anyone know of something I'm missing? This seems straight 
forward...
> 
> Weird...
> 
> -Josh





 
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/
 


Reply via email to