you can try with this
onSelectRow: function(){
var row_id = $("#grid_nueva_caja_matriz").getGridParam('selrow');
jQuery('#grid_nueva_caja_matriz').editRow(row_id, true);
}
or you can use the differentes events how
ondblClickRow
you can check on the documentation of jqgrid