1 Reply Latest reply on Mar 13, 2008 5:25 AM by SujitG

    DataGrid button event problem

    Flex-Issac Level 1
      Hi All,

      How to addEventListerner to DataGrid inside button? And which event to handle it?I already changed itemRenderer to Button instance, but I don't know how to add event to it when button click.

      Thanks
        • 1. Re: DataGrid button event problem
          SujitG Level 2
          Can you try creating a custom component, extending Button. In the custom component, you can call a function from the custom component's (Button) click event and throw a event\custom event from the function. You can then catch the event thrown by the custom component in the main application and execute the necessary code.

          Hope this helps.