2 Replies Latest reply on Feb 24, 2009 6:24 AM by Gregory Lafrance

    Displaying panels as list items

      Hi All,

      I have a requirement in my project where I have a tree control on the left and a VBox on the right. On click of a tree node, i need to populate an expandable panel with the details of the clicked tree node and add that panel to the VBox on the right side . On every such click i need to add the panel one below the other. I am able to achieve this till now.
      However i need to be able to remove those panels by selecting them using Control + Click . I have a feeling if i try to render the panels in a List control using a custom itemrenderer instead of a VBox, i may be able to achieve this.
      Would like to have some inputs on the custom itemrenderer for a panel or
      I would like to know if there is any other method of achieving this.
      Any help in this regard would be appreciated.