http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component
I have used this and it works great.
On 10/25/06, Alexander Lamb <[EMAIL PROTECTED]
> wrote:
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 LambService d'Informatique MédicaleHôpitaux Universitaires de Genève+41 22 372 88 62+41 79 420 79 73
--
diabetic? http://www.diabetesforums.com
Albert Einstein - "It's not that I'm so smart, it's just that I stay with problems longer." __._,_.___
--
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
Software development tool Software development Software development services Home design software Software development company
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
Reply via email to