|
Hello list, Here is a wonderfull small datagrid: <mx:DataGrid id="dg" dataProvider="{patients}" x="283" y="104" editable="false"> <mx:columns> <mx:DataGridColumn headerText="Last name" dataField="lastName"/> <mx:DataGridColumn headerText="First name" dataField="firstName"/> <mx:DataGridColumn headerText="" backgroundColor="pColor"/> </mx:columns> </mx:DataGrid> Unfortunately, it doesn't like my backgroundColor connexion. My dataProvider is an ArrayCollection of Patient objects. The Patient class has 3 attributes: firstName, lastName, pColor. pColor is a uint. Why can't I do this? I would have sought it simple called the function on the "currentItem" when rendering the DataGrid! Thanks for any hint, Alex -- Alexander Lamb Service d'Informatique Médicale Hôpitaux Universitaires de Genève +41 22 372 88 62 +41 79 420 79 73 -- 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
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [flexcoders] Binding the backgroundColor of a DataGridColu... Alexander Lamb
- Re: [flexcoders] Binding the backgroundColor of a Dat... Clint Tredway
- [flexcoders] AS2 XML to Value Object decoder Valy Sivec
- Re: [flexcoders] Binding the backgroundColor of a... Luis Eduardo
- Re: [flexcoders] Binding the backgroundColor of a... Pan Troglodytes
- Re: [flexcoders] Binding the backgroundColor ... Clint Tredway
- Re: [flexcoders] Binding the backgroundCo... Pan Troglodytes
- [flexcoders] Flex Developer seeked for expert help Pascal Schrafl

