Get the editor of the special cell and you will be able to retrieve the editing value.
var dg = $('#dg');
var cell = dg.datagrid('cell');
if (cell){
var ed = dg.datagrid('getEditor', cell);
if (ed){
var value = ed.actions.getValue(ed.target);
console.log(value)
}
}