2 Replies Latest reply on Aug 28, 2008 7:13 AM by ericbelair

    Getting Tree Item Editor to show on an Event other than itemClick

    ericbelair Level 1
      I have a Tree Component with a dynamic Array Collection as its dataProvider. I want to be able to edit the labels right in the Tree, and thereby edit the underlying data. However, I do not want to use the default Tree itemEditor functionality, which opens the editor on the itemClick Event. I want to be able to trigger the editor showing with my own custom Event. What is the easiest way to do this? I tried creating a custom itemRenderer, by extending the TreeItemRenderer Class, and setting the rendererIsEditor property to "true", but I could not get it to work correctly. If someone could point me in the right direction it would be greatly appreciated.

      Thank you.