Declined
Last Updated: 27 Oct 2022 11:21 by ADMIN
Ganesh
Created on: 20 Oct 2022 19:33
Category: Drag and Drop
Type: Feature Request
1
Automatically move the existing element from the drop target

When I drag an element to the drop target, automatically move the existing element in the drop target to the drag target. In short, switch the position of the elements.

In this case, moving Panel 2 over Panel 1 should automatically move Panel 1 underneath:

https://stackblitz.com/edit/angular-tg3xjq-1e5svz

 

1 comment
ADMIN
Martin
Posted on: 27 Oct 2022 11:21

Hi Ganesh,

Based on these requirements more suitable component could be TileLayout which provides the desired reposition functionality as a built-in feature.

https://www.telerik.com/kendo-angular-ui/components/layout/tilelayout/auto-flow/

Changing the position of drag containers dynamically when Kendo Angular Drag & Drop is used, isn't something expected to be done automatically by the component and would not be implemented as built-in functionality.

In case the TileLayout is not an acceptable solution the developer needs to implement additional logic to the drag-related events and manually reposition the containers as necessary.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.