Question about the Drag and Drop Cards Demo

0 Answers 9 Views
Card Drag and Drop
Dominic
Top achievements
Rank 1
Dominic asked on 10 Feb 2022, 02:03 PM

I was able to reproduce the functionality on the following demo:

https://demos.telerik.com/kendo-ui/cards/drag-and-drop

I would like to be able to apply this to a dashboard screen where the user is able to move the widgets/cards around.  What can I use to save as a preference for the order of the cards/widgets?  Is there an attribute or parameter that tells the Kendo List where it should be in the list?  That way the next time they come to the page the cards will be in the order they last saved them in.

Martin
Telerik team
commented on 15 Feb 2022, 09:14 AM

Hello, if you wish to save the new sort order after drag/drop, you will need to implement custom logic to do so. Here you will find a Stackoverflow threadthat reorders the items in the Grid dataSource. You can then save the state using localStorage or similar approach.

No answers yet. Maybe you can help?

Tags
Card Drag and Drop
Asked by
Dominic
Top achievements
Rank 1
Share this question
or