Changing Sortable data

1 Answer 58 Views
Sortable
Jordan
Top achievements
Rank 1
Jordan asked on 09 Nov 2021, 06:54 PM
I have a use case where I want to disable all Sortable data when clicking a button, but it seems like I'm only able to disable just one of the elements. Does Sortable break if the underlying data changes?

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantin Dikov
Telerik team
answered on 10 Nov 2021, 09:40 AM

Hello Jordan,

You should be able to disable all items in the Sortable component dynamically. I have created a simple example demonstrating such implementation, where all items are disabled/enabled on a button click:

If your scenario differs, please provide an example demonstrating the exact issue, so we can debug it locally.

 

Regards,
Konstantin Dikov
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.

Tags
Sortable
Asked by
Jordan
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or