i wonder why this....
why i need to extend my datagrid to make this functionality to work. so many people asks for this... it appear to be so obvious that people would need it. will adobe make this issue on the next patch for flex 2.0 ? (is there some place that we can asks for this?) Clint Tredway escreveu: > You will need to extend the datagrid to do this.. The good thing is, > someone has already done this, Mike Nimer. > > http://www.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component > > <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] > <mailto:[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 Lamb > Service d'Informatique Médicale > Hôpitaux Universitaires de Genève > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > +41 22 372 88 62 > +41 79 420 79 73 > > > > > > > > > -- > diabetic? http://www.diabetesforums.com <http://www.diabetesforums.com> > Albert Einstein - "It's not that I'm so smart, it's just that I stay > with problems longer." > _______________________________________________________ Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas ! http://br.answers.yahoo.com/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

