function saveData(celledit_id) {
var controlId = celledit_id.substring(celledit_id.indexOf("datagrid") + 8);
var grid = mini.get(celledit_id);
var data = grid.getChanges();
grid.validate();
if (grid.isValid() == false) {
alert("请校验输入单元格内容");
var error = grid.getCellErrors()[0];
grid.beginEditCell(error.record, error.column);
return;
}