Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi selection drag and drop in primeng Tree #9539

Closed
Arun-93 opened this issue Nov 18, 2020 · 7 comments
Closed

Multi selection drag and drop in primeng Tree #9539

Arun-93 opened this issue Nov 18, 2020 · 7 comments
Labels
Type: New Feature Issue contains a new feature or new component request

Comments

@Arun-93
Copy link

Arun-93 commented Nov 18, 2020

In angular, any suggestion for PrimeNg multi selection Drag and Drop. I have two trees, I'm dragging records from Tree A and dropping it in Tree B. I want to choose multiple records in Tree A and have to drop it at once in Tree B. By pressing ctrl I'm able to choose multiple records in Tree A but able to drag and drop only one record at time.

Is there any possible way where I can choose multiple records in Tree A and drop the same in Tree B at the same time

@Arun-93
Copy link
Author

Arun-93 commented Nov 18, 2020

Code:

<p-tree [value]="SenderFiles" [filter]="true" draggableNodes="true"
selectionMode={{SenderSelectionmode}} [(selection)]="senderNode"
(onFilter)="modifyNodeFilter($event)" (onNodeSelect)="senderNodeSelect($event)"
(onNodeUnselect)="senderNodeSelect($event)">

<p-tree [value]="ReceiverFiles" [filter]="true" droppableNodes="true"
selectionMode={{SenderSelectionmode}} [(selection)]="ReceiverNode"
(onNodeDrop)="onDrop($event)" [validateDrop]="true" (onFilter)="modifyNodeFilter($event)"
(onNodeSelect)="receiverNodeSelect()" (onNodeUnselect)="receiverNodeSelect()">

@yigitfindikli yigitfindikli added the Type: New Feature Issue contains a new feature or new component request label Nov 25, 2020
@Arun-93
Copy link
Author

Arun-93 commented Dec 17, 2020

Hi Team,

Could you please advice on the above issue or any workaround as a temporary fix.

Thank you.

@sumitdhungana14
Copy link

Any updates on this?

@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap?
Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!

Best Regards,

@tylorngo
Copy link

Is there any update on this please? I managed to have a workaround but it's very inconvenient to develop additional feature on top of this (for example, redo/undo).

@tbaro
Copy link

tbaro commented Feb 19, 2024

I am also interested in hearing when this feature (multi-select drag & drop) will be available. It is an obvious requirement for any drag & drop feature and without it, the existing drag/drop functionality is not much use. (Also drag & drop on a TreeTable would be extremely useful.)

Also - is this issue flagged as closed if it has not been addressed?

@Mnaaz
Copy link

Mnaaz commented Apr 17, 2024

The multi selection drag and drop would very much be appreciated for the picklist as well. The behaviour of transferring items is a bit inconsistent at the moment. Transferring multiple items via the arrow buttons works, but it does not when using drag&drop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

7 participants