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
Any help in this regard would be appreciated.
I'll add that you can have a repeater whose dataProvider is
an ArrayCollection or XMLListCollection, and clicking on the tree
just adds data to the collection, and control click just deletes
data from the collection, and the repeater just renders what is it
the collection. Makes it cleaner.