Rows in any grid can be dragged and dropped to other components and vice versa.
This is done by:
dropModel.acceptplay crucial role in creating draggable / droppable relation between grid and other components.
dropModel.dropmethod is most important part that does the actual manipulation of dragged row objects.
afterDropwith help of which we can take custom action in the draggable before / after drop in pqGrid. In this example, we use
afterDropcallback 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.