1
votes

I have a datagrid in my Flex App, and I;m uisng a custom HeaderRender. This HeaderRender has a checkbox. How can I control the checkbox from outside the HeaderRender?

thanks!

1
What do you want to do with the checkbox? - Jason Towne

1 Answers

0
votes

Well it's not ideal, but you can dispatch a custom event from your header render with bubbling set to true. This will allow you to capture the event and reference the renderer with event.target.

There are other ways to do this using a lot more code (and a bit of extending) if you're looking for an "ideal" solution.