Undo after Multi Drag-and-Drop in datatable

edited February 2018 in Technical questions

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 )
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion