I'm creating Datagrid dynamically and giving each row's first column a custom checkbox cellrenderer as noted here: http://kirill-poletaev.blogspot.com/...t-part-13.html. I have added an ITEM_CLICK event listener to the datagrid as such:
However, for the life of me I cannot figure out A) how to target the CheckBox specifically, B) how to toggle its' selected value, and C) how to finally update the datagrid view to reflect the toggled option.Code:datagrid.addEventListener(ListEvent.ITEM_CLICK, ToggleCheckBox);
Code:private function ToggleCheckBox(e:ListEvent) { // do some magic }
Anyone care to throw me a bone?