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

Saving Sortable State

3 Answers 191 Views
Sortable
This is a migrated thread and some comments may be shown as answers.
B
Top achievements
Rank 1
B asked on 13 Oct 2014, 09:52 PM
Is it possible to save the state of how a panel group was arranged using the sortable control?

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 15 Oct 2014, 09:57 AM
Hi Brandon,

The Sortable control does not provide ability for saving the items order out of the box.
You may handle that manually when the change event of the widget fires. For more information please check this help topic:

Regards,
Alexander Valchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
DominionZA
Top achievements
Rank 1
answered on 27 May 2015, 08:53 AM
There have been a few updates to the platform since this thread was created. Is it possible yet to persist the order of the Sortables?

I am bit stumped why this is not basic functionality. What use is the sortable if you can't persist it?
Beryl
Top achievements
Rank 1
commented on 16 Jul 2021, 07:40 PM

Here I am 6 years later with the same issue. I agree wholeheartedly. Seems that this should be basic functionality. Hopefully, I can figure this out from the local storage example which I find quite confusing.
Anton Mironov
Telerik team
commented on 20 Jul 2021, 01:53 PM

Hi Beryl,

In order to achieve the desired behavior, I would recommend trying the approach from the following demo:

It includes the needed use of the localStorage and the expected behavior.

Make the needed tests locally with the demo above and let me know if further assistance is needed.

Kind Regards,
Anton Mironov

0
Alexander Valchev
Telerik team
answered on 29 May 2015, 08:34 AM
Hello Michael,

Sortable widget does not persist the order automatically. The widget does not have dataBinding because it can be initialized from various mark-up.

If you want a widget with dataBinding, automatic re-rendering and data synchronization you may use ListView with Sortable. Please check this help topic:
  • http://docs.telerik.com/kendo-ui/web/sortable/integration


Regards,
Alexander Valchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Sortable
Asked by
B
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
DominionZA
Top achievements
Rank 1
Share this question
or