When rows in a grid with row groupings are rearranged by drag and drop, the rows become part of the destination parent or children get rearranged in case of same parent..
This is done by:
dropModel.diHelperspecifies the displayed columns in the draggable helper.
dragModel.isDraggableis implemented to exclude summary rows and group titles having more than one level of children.
dropModel.isDroppableis implemented to exclude summary rows, group titles having more than one level of children, ancestor rows of dropped rows and if dragged and dropped over rows are same.
dropModel.dropmoves the rows from old parent to new parent. You can override it to do custom action upon drop of rows.
First of all mutiple row selection is turned on or checkbox selection is turned on.
dragModel.dragNodes method is implemented as in this example to return array of selected or checked rows.