When are you calling initCellRenderer? May be data has not yet arrived and
this functiong gets called.

Are you able to see data in initCellRenderer function?


-abdul 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Rajesh Jayabalan
Sent: Tuesday, May 17, 2005 2:12 AM
To: [email protected]
Subject: [flexcoders] cell render problem

Hi,

 I am trying to create a combobox cell renderer. 

In my mxml file I am trying to set a httpserivce as the dataprovider
for the cell renderer

note:: clTypeSrv is my HTTPService and clTypeSrv.send() is called on
application initilize.

private function initCellRenderer() : Void          
  {
        ComboBoxCellRenderer.dataProvider = clTypeSrv.result.types.type;
  }

this is creating a empty combobox 

Note: There is data coming back from the httpserivce as I am using it
in another place

when I set it as static values I can see the combobox.

i.e.,
ComboBoxCellRenderer.dataProvider = [ "Development Director",
"Technical Director", "Technical Architect" ];

How can I make my combobox accept a httpservice as a dataprovider.

Rajesh J





 
Yahoo! Groups Links



 




 
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