Is there any way to make a gwt tree multi-selectionnable ?
I mean select several items in a tree in order to make a global drag &
drop (for example)
Thanks for your answers.
Grégory Viviand.
Want I want is to select several items in a tree at the same time, in
order to apply them the same operation or the same action (dragging
several items to to the same table and adding these items in new rows
in this table, for example)
It could be by a Ctrl+click action on several tree item. Or by
defining checkbutton tree items, I don't know ?
Is anybody knows if such an implementation of a GWT tree have been
published ?
Thanks for your answers.
Grégory Viviand
On 5 juil, 03:31, "wylpe...@gmail.com" <wylpe...@gmail.com> wrote:
> http://code.google.com/p/gwt-dnd-tree/
unfortunately the GWT Tree class can only have one TreeItem selected.
If you look at Tree class, you will find the following variable
private TreeItem curSelection;
That is one TreeItem that stores the currently selected item. To make
multiple selection you will need to rewrite the Tree class. And this
task is not trivial, at least, from my point of view. I haven't heard
about any implementation of the multiple selection tree yet.
Hope somebody else needs that and is going to implement it.
Good luck!