Hi,
There is a greate example in the following link that allows us to create simple
hirarchical grid with AdvancedDataGrid, implementing IHierarchicalData.
http://inovativeflexdevolopment.blogspot.com/2008/07/flex3-dynamic-population-of-data-in.html
I couldnt find a way to include ItemRenderer
I'm still rather new to flex.. so forgive me if I'm not going about this
the right way.
I want to simply change the value of data within datagrid, based on some
criteria.
In this case, I have records coming back athat are either active or
inactive.
In the database these values are 0' and 1's, but
There are many ways to do what you want... here are a couple:
1) Probably the simplest: use labelFunction on the column
http://livedocs.adobe.com/labs/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html#labelFunction.
2) My preferred approach for code that has any complexity: Parse
Normally List has a iconFunction, I'm using an itemRenderer to give
the list items a custom background color.. When I do this the icon
doesn't show.. is there anyway around this?
Thanks
Should be there if you extended ListItemRenderer.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Morphis
Sent: Friday, March 16, 2007 11:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] using itemRenderer with List, how
5 matches
Mail list logo