I am working with jquery-ui and the sortable function to reorder a table, which is working fine so far, but what I wanted to achieve now is to multiselect rows and drag / drop that bunch of rows at once.
For now, I select multiple table rows via ctrl+click and give them a class ('selected'). But I'm struggling with the move operation. What I found out so far is, that I have to get all selected rows in the sortable start function and insert those rows somehow in the stop function. But I can't figure out how this should happen.
Any help here is appreciated.
This code allows to order rows with multiselect and mouse click:
and also it can works with crtl+click if you start the script with:
The fiddle