3 Replies Latest reply on Nov 10, 2011 10:12 AM by Flex harUI

    datagrid Item remderer - adding and removing event listeners

    Zolotoj Level 3

      I have a column with a item renderer in a header and in rows. At some point I need to send a message from the header renderer to the cell item renderer.

      The way I got it work is that a column renderer adds a listener to the grid. Then header renderer dispatches that event with the message attached to it.

      Finally column item renderer gets the message and acts upon it. My question is should I remove that listener from the grid at some point?

       

      Thanks