onAfterDrop

fires after drag-n-drop was finished

void onAfterDrop(object context,Event native_event);
context
objectthe drag-n-drop context native_event
Eventthe native event object

Example

gridb.attachEvent("onBeforeDrop", function(context, native_event){
    for (var i=0; i< context.source.length; i++){
        context.from.copy(context.source[i],context.index,this,webix.uid());
    }
    return false;
});
 
some.attachEvent("onAfterDrop", function(context, native_event){
    //... some code here ... 
});

Related samples

Details

The drag-and-drop context can have the following properties:

See also
  • API
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix javascript component library and page of javascript list product.