Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to update the data in database #30

Open
ghost opened this issue Sep 24, 2014 · 1 comment
Open

how to update the data in database #30

ghost opened this issue Sep 24, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 24, 2014

how to update the data in database

@cschuff
Copy link

cschuff commented Oct 5, 2016

I solved it by doing adding this:

      options.update = function(event, ui) {
        regroup(ui.item, ui.item.parent());
        ui.item = ui.item.add(ui.item.siblings(".sapMLIBSelected"));
        settings.update(event, ui);
      };

So the update callback will receive all dragged items as a jQuery array in ui.items.

@shvetsgroup: I think this needs to be done in all available callbacks to allow access to all the dropped items instead of only the one item being actively touched.

BR
Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant