onAfterPortletMove

fires after a portlet has been moved

void onAfterPortletMove(object source,object parent,object active,object target,string mode){ ... };

Parameters

sourceobjectthe original parent layout
parentobjecta new parent layout
activeobject(also this) a portlet to move
targetobjecta target view (highlighted, will be placed beside the active one within the parent layout)
modestringdrag direction relative to the target

Example

webix.attachEvent("onAfterPortletMove", function(source,parent,active,target,mode){ 
    // some code here
})

Details

Pay attention that the event is attached globally - webix.attachEvent( ).

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix js framework and page of javascript drag and drop library product.