Custom the 'loadFilter' function to handle the specified message. Please try this code.
$('#dg').datagrid({
loadFilter: function(data){
var oldData = $(this).data('datagrid').data;
if (data.info){
setTimeout(function(){
alert(data.info)
},0)
return oldData
} else {
return data;
}
}
})