Rows in any grid can be dragged and dropped to other components and vice versa.
This is done by:
dropModel.accept play crucial role in creating draggable / droppable relation between grid and other components.
dropModel.drop callback is the final part that does the actual manipulation of dragged row objects.
afterDrop with help of which we can take custom action in the draggable before / after drop in pqGrid.
In this example, we use
afterDrop callback to remove draggable from the custom component.
First of all mutiple row selection is turned on or checkbox selection is turned on.
dragModel.dragNodes method is implemented to return array of selected or checked rows.