[flexcoders] Using custom checkBox in datagrid

2007-10-31 Thread candysmate
I'm using a custom itemRenderer (centered checkBox), based upon Alex Harui's excellent blog in a dataGrid. My dataGridColumn has: mx:DataGridColumn headerText=

Re: [flexcoders] Using custom checkBox in datagrid

2007-10-31 Thread Scott Melby
Dispatch a custom event with bubbles set to true. In the event include the checkbox that was checked so the code that catches it can get the selected state. Then in the code that sets up your datagrid add an event listener to the grid itself as follows