Undo after Multi Drag-and-Drop in datatable

Hello,
I have a grid with multi Drag-and-Drop support. But in case of error after multi Drag-and-Drop, undo works only for one item.
Is any way to sent the moved items in one request(webix_operation: “order”) as a array and do undo for all items.

There is no built-in solution.

You can

  • do not use native data saving
  • add an event handler to onAfterDrop event
  • make a custom ajax call from this event handler ( context object has ids of all moved rows )