Dear all,
There is the possibilty to drag and drop items from one datacontainer (datalist, datatable) to another.
Is there also a possibilty to drag and drop items from one to many datacontainer?
https://www.primefaces.org/showcase/ui/ ... Grid.xhtml
I would like to implement something like a tasklist:
List1: open
List2: in_progress
List3: done
Many thanks for sharing ideas.
Drag & Drop to many datatables / list? Not only one target?
-
- Posts: 84
- Joined: 11 Sep 2014, 10:13
- Location: Brussels, Belgium
I do not exactly understand the link you provided but having two isomorph containers to drag and drop between is in the Showcase here:
https://www.primefaces.org/showcase/ui/ ... able.xhtml
https://www.primefaces.org/showcase/ui/ ... able.xhtml
Primefaces 6.1+
Wildfly 11
Wildfly 11
-
- Posts: 84
- Joined: 11 Sep 2014, 10:13
- Location: Brussels, Belgium
Did you even have a look at the link I posted above? In what way is it insufficient for your usecase? In the event handling you can do whatever you want, even adding it to multiple containers ...
Primefaces 6.1+
Wildfly 11
Wildfly 11
Ok, thank you but I don´t understand exactly....
Do I need many of this?
But I would like to drag and drop item from:
table1 to table2
table1 to table3
table2 to table3
So I need three <p:droppable functions?
Thanks,
Do I need many of this?
Code: Select all
<p:droppable for="selectedCars" tolerance="touch" activeStyleClass="ui-state-highlight" datasource="availableCars" onDrop="handleDrop">
<p:ajax listener="#{dndCarsView.onCarDrop}" update="dropArea availableCars" />
</p:droppable>
But I would like to drag and drop item from:
table1 to table2
table1 to table3
table2 to table3
So I need three <p:droppable functions?
Thanks,
PF 8.0
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests