1 Reply Latest reply on Feb 11, 2008 5:49 AM by pvanderhoeven

    bubbling events stops at first parent

    pvanderhoeven
      My application has a heirarchy of custom components; the app contains a canvas component, that has a tilelist with a custom itemrenderer. The itemrenderer contains an image, which on click, calls a function:
      (imgDelete.dispatchEvent(new Event('removeItem',true));)
      I added a listener (this.addEventListener('removeItem',removeItemHandler);) to the tilelist, and that worked just fine. But adding the same event listener to the canvas, or the app itself does not work. What do I need to do to get the event heard at any of the upper ancestors instead of stopping at the parent container?
      Regards,
      Paul