$(dialoggrid).datagrid('beginEdit',index);
var editor =$(dialoggrid).datagrid('getEditor', { index: index, field: field });
if (editor) {
editor.actions.setValue(editor.target,row[field]);
}
$(dialoggrid).datagrid('endEdit',index);