This content has been marked as final. Show 4 replies
Have you seen the CheckBox CellRenderer example here:?
Aren't they triggering DataGrid events when the user selects one of the checkboxes?
I didn't look at it in depth, but if you haven't downloaded the .AS file check it out (no pun intended), I think it would lead you to the answer.
Otherwise, try starting out by invoking a custom function defined on _root, just as a test to "get out" of the button, then work your way down from there, using the reference to your DataGrid component.
Also, make sure you don't have any other onRollOver/Out methods defined on the DG component, as I believe any methods attached to the button would not trigger.
Again, make sure you are firing a onRollOver event by using the _root.function() call, so you cn maintain your sanity!
Thanks ufitzi, but I've already looked at that before.
The problem, if you check it out, is that when you rollover the checkbox, the item's row doesn't highlight as it does when you roll over the row normally.
I have a DataGrid with several buttons to view details, delete, upload, etc. but I want the user to know which item they're going to affect once they click.
I know this is a minor point I'm trying to solve, but I think it would be a nice touch.
I'd still like to hear if anyone else knows how to do this.
Could you create some sort of custom rollover effect?
Attach a transparent MC that looks like the rollover graphic for your DG?
It's kind of hack, but it might save you some time in the long run.
Are you getting any event triggered at all?
I can live without it for now. But thanks for your thought. I appreciate it.