Skip to main content
BennyB23
Participant
September 23, 2010
Question

Mouse focus in custom DataGrid ItemRenderer (re-post*)

  • September 23, 2010
  • 1 reply
  • 389 views

* I already posted this question in the "Flex" forum, but didn't get any replies. I'm not sure if this will yield any different results, but I figure it's worth a try...

I have a custom MXDataGridItemRenderer with a custom nested Spark CheckBox component that I'm trying to use within an MXDataGrid component. The renderer works fine, as does the nested checkbox, however I'm unable to decouple the mouse events for the checkbox from the DataGrid row. I intend to use the DataGrid as a playlist for the VideoPlayer component with an FX Model-based DataProvider and the purpose of the checkbox is to allow the user to automatically play the next selected checkbox item in the list; similar to the checkboxes in iTunes. Placing an instance of the checkbox on top of DataGrid achieves the desired decoupling, but this is obviously an impractical solution, which I include only to illustrate what I'm trying to do. Any recommendations would be greatly appreciated.

Thanks,

~Benny

This topic has been closed for replies.

1 reply

BennyB23
BennyB23Author
Participant
September 24, 2010

Work around posted here: http://forums.adobe.com/message/3160303#3160303