Code:
$(function(){
$('#dg').datagrid({
view: detailview,
onExpandRow: function(index,row){
//What you want to do after click in the figure
alert('Hey there =p');
}
});
}

