Consider the following sample code
$('#tt').edatagrid({
    url: 'datagrid_data.json',
    saveUrl: 'savedetails.php',
    updateUrl: 'upddetails.php',
    destroyUrl: 'delrow.php'
});
and server side
//savedetails.php
<?php
extract($_GET);
extract($_POST);
$query = "insert into tab values ('$a1','$a2','$a3')";
mysql_query($query);
echo "Row inserted";
?>
How I can get the response of 
 at the front end code on addition of a new row?