Cancel onDrop event?

I know it is possible to cancel an onDrag event, but is it possible to cancel an onDrop event?

I need to be able to cancel the event based on the order of data in a column AFTER the drop event has been processed.

Obviously I’ve tried the usual “return false” but that doesn’t seem to work.

To cancel onDrop event you should return false from onDragIn event handler. Please find tutorial here docs.dhtmlx.com/doku.php?id=dhtm … g_and_drop

I don’t think either the onDragIn or the onDragOut will work for my scenario because when either of these two events are fired, the grid hasn’t yet processed the change in the order of data/rows in the grid.

If yo need to cancel onDrop event after row was actually landed to new target, you can simply remove it with deleteRow() method.