Drag and Drop Feature Implementation for Component <Add/> in Web Application

1 Answer 71 Views
Drag and Drop
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Tejas asked on 01 Aug 2023, 12:19 PM | edited on 01 Aug 2023, 12:21 PM

how to implementing a drag and drop feature in a web application that involves a specific component named <Add/>. The web application consists of two boxes: a source box and a target box. Your objective is to allow users to drag the <Add/> component from the source box to the target box.

Please describe in detail how you would approach implementing this drag and drop feature for the <Add/> component. Provide a step-by-step guide outlining the necessary code and interactions to achieve the functionality.

1 Answer, 1 is accepted

Sort by
1
Konstantin Dikov
Telerik team
answered on 03 Aug 2023, 08:42 AM

Hello Tejas,

Detailed information with examples for our Drag & Drop utilities can be found in the following section of our documentation:

In the context of your requirement, you can wrap the Add component in SPAN or DIV element that you can implement the Draggable on it.

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tejas
Top achievements
Rank 2
Iron
Iron
Iron
commented on 03 Aug 2023, 11:05 AM

Konstantin Dikov
Telerik team
commented on 07 Aug 2023, 08:13 AM

Hello,

I have modified the example from the Drag & Drop help article and I have replaced the Button component with a custom "Add" component wrapped in a draggable DIV element:

Hope this helps.

Tags
Drag and Drop
Asked by
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or