Drag Item from kendo-grid and drop on the kendo-treeview In kendo-Angular

0 Answers 61 Views
Drag and Drop Grid TreeView
shivam
Top achievements
Rank 1
shivam asked on 27 Apr 2023, 02:46 PM
Hello,

Here is a one scenario I want to use.
I have one kendo-grid and one kendo-treeview in the component.
Now I want to drag a row from the kendo-grid and drop that on the treeview.

means I want when I drag the row from the grid and hover on the treeview node. then treeview drop event should be activated. so I can drop the item and do the opration for the specific node.

Any suggestions how can I do that ??  
Markus Hopfenspirger
Top achievements
Rank 2
commented on 27 Nov 2023, 02:55 PM

Hello, did you find a solution?
Martin
Telerik team
commented on 30 Nov 2023, 08:50 AM

Hi all,

In order to drag and drop rows from Grid to any other container, the DragTargetContainerDirective and DropTargetContainerDirective directives should be used.

A similar example is already demonstrated in the following article, but instead TreeView, ListView was used:

https://www.telerik.com/kendo-angular-ui/components/grid/rows/drag-and-drop-grid-listview/

Regardless of the used components the core logic is the same.

Regards.

Markus Hopfenspirger
Top achievements
Rank 2
commented on 30 Nov 2023, 09:25 AM

Hello Martin,

thank you very much for your reply. 

I saw this example but I wanted to know if the drag and drop between Grid and Tree also works fine. 

I just start a new angular project and I evaluate right now if I will use KendoUI for this project or not...

Kind regards,
Markus

Martin
Telerik team
commented on 01 Dec 2023, 08:43 AM

Hi Markus,

Sure, take your time.

In case you have any other questions do not hesitate to open a private support thread or public forum thread.

Regards

No answers yet. Maybe you can help?

Tags
Drag and Drop Grid TreeView
Asked by
shivam
Top achievements
Rank 1
Share this question
or