Re: [flexcoders] Re: Datagrid question

2009-04-20 Thread Maciek Sakrejda
It seems like the license number is not just a button label--it's actually a part of your model. Perhaps that column should render the number associated with each user (if any). If there's a number, display that. If it's NaN (or -1, or whatever invalid number you choose), display it as a

RE: [flexcoders] Re: Datagrid question

2009-04-20 Thread Tracy Spratt
.iterate through each row. You absolutely *cannot* do that, because all the DG rows do not exist, only the rows currently visible exist. You need to have your renderer update the dataProvider with the generated value, then iterate through the dataProvider. This should not be difficult.

RE: [flexcoders] Re: Datagrid question

2009-04-20 Thread Tracy Spratt
Yes, if every row is visible, then you could probably make this work. I think you need to use the DOM properties and methods, like DataGrid.numChildren() and getChildAt(). Sounds like a mess to me though. Tracy Spratt, Lariat Services, development services available _ From:

Re: [flexcoders] Re: DataGrid question

2007-12-21 Thread mark goldin
How do you override selectItem? ben.clinkinbeard [EMAIL PROTECTED] wrote: Subclass DataGrid and override selectItem, drawHighlightIndicator and drawSelectionIndicator so that they do nothing. --- In flexcoders@yahoogroups.com, djhatrick [EMAIL PROTECTED] wrote: I asked a while back