New to Kendo UI for Vue? Start a free 30-day trial

Environment

Product Version2.4.0
ProductProgress® Kendo UI for Vue Native

Description

The current Knowledge base article shows how we can drag and drop rows between two Kendo UI for Vue Native Grids.

Solution

To define the Draggable functionality of the Grids' rows, the below slot template is defined and passed to the "Drag" field in each of the Grids.

<template v-slot:myTemplate="{props}">
    <custom  :data-item="props.dataItem"
            @dragover="reorder"
            @dragstart="setActive"
            @dragend="updateRemote"/>
</template>

Once the reorder function from the above template is triggered, it applies the changes in the states of the two Grids.

For more information about the rows reordering in the Kendo UI for Vue Native Grid, you can check this documentation article.

Runnable example

Example
View Source
Change Theme:

In this article

Not finding the help you need?