If you are using edatagrid plugin to create a basic crud application, you don't care about how to save or edit a row, what you need to do is to set the 'url','saveUrl','updateUrl' and 'destroyUrl' properties.
$('#tt').edatagrid({
url: ...,
saveUrl: ...,
updateUrl: ...,
destroyUrl: ...
});