Clear the selection when dblclick a row. Please refer to the code below.
$('#dg').datagrid({
onDblClickRow: function(index,row){
if (window.getSelection){
window.getSelection().removeAllRanges();
} else if (document.selection){
document.selection.empty();
}
}
})