jqGrid MVC – Row double click to edit row

Controller:
Private Sub Contact_SetupGrid(ordersGrid As JQGrid)
With ordersGrid
.ClientSideEvents.RowDoubleClick = "Contact_dblClickRow"
End With
End Sub

View:
function Contact_dblClickRow(rowID, isSelected) {
var editDialogOptions = $(this).getGridParam('editDialogOptions');
$(this).editGridRow(rowID, editDialogOptions);
}