Crunchy Cat
05-24-2007, 07:34 PM
Hello,
I just started using Flex and I found an odd behavior which I am not quite sure how to go about solving (mainly becuase I am not sure why it happens).
My datagrid is populated via an XMLList object, and the data asynchronsly changes over time. I have a progress bar in every row that is updated as the data changes (it's listening to a TextInput which in turn is bound directly to XML data). Everytime a progressbar updates then the rollOver highlight for whatever row the mouse is over simply vanishes... never to return until I move the mouse to another row.
I was able to reproduce the same behavior by stuffing an image and zoom control into a grid container which in turn was added to a datgrid row. Specifically, I set the zoom control to expand and contract the image when the mouse rolled over and out of the grid container. Everytime a zoom happens, the rollOver highlight for the current row vanishes and of course is only restored by moving to another row.
Why does this happen and how to I preserve the row highlight?
Thanks!
I just started using Flex and I found an odd behavior which I am not quite sure how to go about solving (mainly becuase I am not sure why it happens).
My datagrid is populated via an XMLList object, and the data asynchronsly changes over time. I have a progress bar in every row that is updated as the data changes (it's listening to a TextInput which in turn is bound directly to XML data). Everytime a progressbar updates then the rollOver highlight for whatever row the mouse is over simply vanishes... never to return until I move the mouse to another row.
I was able to reproduce the same behavior by stuffing an image and zoom control into a grid container which in turn was added to a datgrid row. Specifically, I set the zoom control to expand and contract the image when the mouse rolled over and out of the grid container. Everytime a zoom happens, the rollOver highlight for the current row vanishes and of course is only restored by moving to another row.
Why does this happen and how to I preserve the row highlight?
Thanks!