1 Reply Latest reply on Oct 2, 2008 1:05 PM by ntsiii

    Catching events in an item renderer

    ManWithChip
      Hello,

      I'm having problems catching events within an item renderer.

      I have a custom radio button group renderer class which dispatches an Event.CHANGE event when a radio button within the group has changed.

      I'm trying to add an action listener to the component which uses the renderer but am unsure how to do it. Attached is the code which adds a new instance of the renderer class to the component's item renderer (it's part of a data grid). I've tried adding an event listener to the base component but that doesn't pick up the event when it fires. I can't add the listener to the item renderer and the DataGridColumn object only accepts either Event.ACTIVATE or DEACTIVATE events.

      Many thanks for any thoughts.