This content has been marked as final. Show 2 replies
I am also looking for a way to make this work.
Any help will be appreciated, thank you.
I found a solution to this.
What you do is use
itemRollOver and the event.itemRenderer.data.name together.
I used it so when I roll over an item in the dataGrid it changes the text area I have in my application with the description of the current rolled over item. When I mouse over another entry then the description changes to that description and on and on.
Here is the full code I used.
itemRollOver="NAME_OF_TEXT_AREA.text = event.itemRenderer.data.description"
you would change the description to whatever the field is you want, such as name, author, temp, books or whatever the data is.
I am actually bringing in data on videos from a database. XML is created from the database using the XML plugin from Dreamweaver Developer ToolBox. A PHP file is used to output the desired table information then it is brought into Flex 2 application and the data is propigated into the Data Grid I have setup. The Text Area is updated with the description of the video both when one is selected but also, now, when any of the items in the list are moused over, or rolled over.
It works great. You can easily change this to work for your app or at least give you a direction to go if it isn't exactly what you need.
I have been trying to get this to work for a couple days now, just found my solution and wanted to come post to let others know about it.