1. This doesn't work with grouped rows.
var ri = $gridRes.pqGrid('addRow', {
newRow: {
proj: uiDrag.rowData.proj,
grp: uiDrag.rowData.grp,
pq_rowstyle: {
background: "#ff0000"
}
},
//rowIndx: uiDrop.rowIndx,
});
$gridRes.pqGrid('scrollRow', {
rowIndxPage: ri
}, function(){
//debugger;
$gridRes.pqGrid('focus', {
rowIndxPage: ri,
colIndx: 1
});
});
2. This makes the whole row draggable.
clsHandle: 'pq-grid-row',
https://jsfiddle.net/rt8gn1f9/