var datagrid = $('#JQDataGrid1')
var editIndex = getEditIndex(datagrid);
var editor = datagrid.datagrid('getEditor', { index: editIndex, field: 'LastOrdDate' }); //取LastOrdDate欄位
var valto = editor.actions.getValue(editor.target); //取值
editor.actions.setValue(editor.target, 某值);//給值