I want to implement drag and drop listview using backendless… Can i get any tutorial, link or help to maintain data changes (while drag and drop) in backendless??
Hi saad
As I understand you want to update some “order” field in table after d&d/sortable in UI, right?
if so, I can propose you to take a look at this https://laracasts.com/discuss/channels/laravel/best-way-of-updating-a-dragdrop-sorting-list-on-the-db-side?page=1 or here
https://themeteorchef.com/tutorials/adding-drag-and-drop-sorting-to-lists
It’s not related to Backendless but you can see a conception of how to change ordering on the server
So you need to:
- have a some “order” column in table (for sorting items)
- in UI, after d&d/sorting update “order” property for all items
Also you can create API Service in BusinessLogic for that
https://backendless.com/documentation/business-logic/js/apieng_quick_start_guide_js.htm
Regards, Vlad
Is there any easy way for UI Builder?. I need to implement re order feature into list. Dabase stuff I have done.
Hello @Vinod_Sahu
At this moment there is no such functionality to d&d elements in the UI-Builder. However I assume it might be accomplished by adding some kind of arrow icons in each ListItem.
What’s the situation at this moment? Im in need of d&d reordering func
Hello @Nico_Kivinen
We haven’t added the ability yet.
At this moment, we are working on Custom Components
which will enable creating components with any custom JS code and such issues will be solved much faster.
Regards, Vlad
Sounds good!