Use the DataGridListData class, which is passed into the renderer. It contains a dataField property I'm pretty sure this should work: mx:Label text="{datalistData. DataField}.
Use the DataGridListData class, which is passed into the renderer. It contains a dataField property. I'm pretty sure this should work.
This doesn't compile: "1120: Access of undefined property listData". It's probably a flex2 solution, but I'm using Flex3 – Maurits de Boer Aug 20 '10 at 12:03 As you discovered, this has nothing to do w/ Flex 2. Many classes already implement the IDropInListItemRenderer interface. Off topic; You should consider re-working your itemRenderer to use less containers.
Why not just use a Label? Do you really need the addition 2 containers? – URL1 Aug 20 '10 at 12:22 It's actually only a part of the entire renderer, in my actual code it really does need the containers.
But you're right, the example used here can be smaller. – Maurits de Boer Aug 31 '10 at 13:21 I'm glad you got it worked out. If you think my answer helped you solve the issue, feel free to show some love and give my answer a vote.
;) – URL1 Aug 31 '10 at 13:30.
The comment by Flextras.com helped me to find the solution. I can indeed use listData. DataField, but first the IDropInListItemRenderer class needs to be implemented.
The final ItemRenderer.
Creynders answer is simpler, and works too. – Adam Nofsinger Jul 12 at 12:41.
You don't have to implement the IDropInListItemRenderer. This is enough: data ( listData as DataGridListData ). DataField The concrete listData is of type DataGridListData, but the property itself is typed to BaseListData, since a renderer can be used in various scenarios.
However, in this scenario we know it's DataGridListData, therefore we can simply cast it to access the dataField property.
I made my control more generic, and added a type check: if (listData is DataGridListData) { ... } – Adam Nofsinger Jul 12 at 12:43.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.