aspose file tools*
The moose likes Flex and the fly likes How to change an itemRenderer property at runtime? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "How to change an itemRenderer property at runtime?" Watch "How to change an itemRenderer property at runtime?" New topic
Author

How to change an itemRenderer property at runtime?

Guilherme Maranhao
Greenhorn

Joined: Jun 11, 2012
Posts: 1
Hello guys,

I have a view component that has a list inside. The list has an itemRenderer. The problem is:
- I would like to change an itemRenderer's property after one specific attribute of the data has its value changed. It's not the whole dataProvider that is changing: it's just one single attribute of just one single item of my dataProvider. And only that item should be changed at the list.
I have tried dataChange and change events of the list component, but none worked.
What would you suggest?

Thanks, Guilherme

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to change an itemRenderer property at runtime?