RE: [flexcoders] Custom ItemRenderer and DataGrid/DataTips - Renderer's Responsibility?

2008-11-18 Thread Alex Harui
Implement IDropInLIstItemRenderer. The labelData will have a columnIndex where you can get the dataTipFunction and run it (see DataGridItemRenderer.as). Once you have the text, you can display it somehow, maybe by setting a tooltip somewhere From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread Webdevotion
Does this clear things out for you ?I guess just use {data.property}.Check out this article snip:mx:itemRenderer mx:Component mx:Canvas mx:CheckBox id=complete width=20 x=10 y=4 selected= {data.selected}/ mx:Text id=taskname text={data.label}/ /mx:Canvas /mx:Component/mx:itemRenderer --

RE: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread B.Brey
]On Behalf Of WebdevotionSent: donderdag 20 april 2006 14:34To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Custom itemrenderer in datagrid Does this clear things out for you ?I guess just use {data.property}.Check out this articlesnip:mx:itemRenderer mx:Component

Re: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread Webdevotion
for a DataGrid contains data of the whole row. I just want the cell data. -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of WebdevotionSent: donderdag 20 april 2006 14:34 To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Custom itemrenderer

RE: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread B.Brey
mns ;) -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of WebdevotionSent: donderdag 20 april 2006 15:43To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Custom itemrenderer in datagrid Have you tried a for loop through the data

Re: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread Webdevotion
Foundsomething for you at Livedocs :)It confirms my thought about using data.label, data.id, data.productImage, ...as the correct syntax to access these properties.Basically your data object contains the data for the whole row, which is a good thing, since you might want to combine data

RE: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread B.Brey
@yahoogroups.comSubject: Re: [flexcoders] Custom itemrenderer in datagrid Foundsomething for you at Livedocs :)It confirms my thought about using data.label, data.id, data.productImage, ...as the correct syntax to access these properties.Basically your data object contains the data

RE: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread Kyle Quevillon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of B.Brey Sent: Thursday, April 20, 2006 10:45 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Custom itemrenderer in datagrid Well i need the data for the current cell. Is there any way to find out which

RE: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread Dirk Eismann
@yahoogroups.com Subject: RE: [flexcoders] Custom itemrenderer in datagrid Well i need the data for the current cell. Is there any way to find out which column is the current column rendered? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Re: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread Thomas Ott
hi I did it like this: setValue (str:String, obj:Object):Void { var col:DataGridColumn = listOwner.getColumnAt(columnIndex); var itemProperty = obj[col.columnName]; . } you got to define listOwner and columnIndex in the cellRenderer Class Thomas --