This is a migrated thread and some comments may be shown as answers.

Drag & Drop Rows Between Grids Example?

1 Answer 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 27 Jun 2018, 07:26 PM

Hello All,

Let me first start by saying that I am well aware of the Drag & Drop example for Kendo UI for jQuery.

What am I looking for is an example of Drag & Drop between Kendo Grids using the ASP.NET MVC structure and syntax.  Does this capability even exist in ASP.NET MVC or is it only limited to Kendo UI for jQuery?

Thanks in advance for any help regarding this question.

Best,

Will

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 29 Jun 2018, 01:34 PM
Hello, Will,

Thank you for sharing that you have already seen the example of the Kendo UI Draggable and DropTarget for jQuery Kendo UI.

We have only just introduced ASP.NET Core tag helpers for drag and drop but do not have them as HTML helpers at present. You may log that as a request in the Kendo UI UserVoice portal and it will be considered based on popularity when we can include them in our future planning:

http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback

You can still use the jQuery widgets with the MVC grids, but their initialization and event handling will need to be in JavaScript. The suggested approach is to get the instances of the grids in a document ready handler and initialize the Kendo UI Draggable and DropTarget the jQuery way. We have an MVC runnable example between the scheduler and the grid which is more complex than the how-to article and may be relevant to your question. The logic is in the Index.cshtml file at:

https://github.com/telerik/ui-for-aspnet-mvc-examples/blob/master/scheduler/scheduler-drag-and-drop/SchedulerCustomEditor/Views/Home/Index.cshtml

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
William
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or