I had a similar problem, and using the fully qualified object name(mx.controls….) worked.

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Friday, February 24, 2006 11:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unable to use custom cell renders

 

I have this datagrid

<mx:DataGrid x="10" y="67" id="ASDG" width="90%" height="65%">
      <mx:columns>
            <mx:DataGridColumn headerText="Name" columnName="FLD_FULLNAME" />
            <mx:DataGridColumn headerText="Company" columnName="FLD_USEREMAIL"/>
            <mx:DataGridColumn headerText="Address" columnName="FLD_ADDRESS"/>
            <mx:DataGridColumn headerText="Agent Id" visible="false"
columnName="FLD_USERLOGIN"/>
            <mx:DataGridColumn headerText="Side" columnName="{agentType}"
cellRenderer="ComboBoxCellRenderer" />
      </mx:columns>
</mx:DataGrid>

In it I am trying to use the cellerRenderer ComboboxCellerRenderer,
and populate it with the bindable array agentType. I have imported the
mx tools below. Does anyone know why I wouldnt be able to use this
custom cell render? It tells me Access of undefined proptery
'ComboBoxCellRenderer.

import mx.controls.listclasses.*;
import mx.controls.*;







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to