To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
We are working with treetable component.Is it possible to drag and drop table rows within the tree-table?Also is it possible to drag and drop rows from another table to tree table ?
Need some kind of guidance with this reqirement.
Thanks in advance !
Yes, it is possible to drag and drop rows within the treetable. You need to use setDropHandler.
More info about drag and drop:https://vaadin.com/book/es/-/page/advanced.dragndrop.html
About the second question I am not sure because I have never tried but I can say that it is possible to drag from a tree into a table:http://demo.vaadin.com/sampler/#ui/drag-drop/dragdrop-table-tree
That's a great solution.
First question is directly answered.
Second solution I will try out. Looks acheivable.