The main problem is height fixing of detailview row container.
Seems I had found good solution to do detailview with ajax, may be this code will be helpful
view: detailview,
onExpandRow: function(index, row){
var row_id = 'row-${_id}-' + row.id;
$('#' + row_id).load(
'/bpersons/details?id=' + row.id,
function(){
$('#${_id}').datagrid('fixDetailRowHeight', index);
$('#${_id}').datagrid('fixRowHeight', index);
}
);
},
detailFormatter: function(index, row){
var row_id = 'row-${_id}-' + row.id;
return '<div id=' + row_id + '></div>';
},