function copyRow() {
var row = grid.getSelected();
if (row) {
var newRow = mini.clone(row);
//delete newRow.id;
//alert(newRow);
grid.setData(mini.decode(newRow));
felt 发表于 2014-7-11 13:40
var arr=[]
function copyRow(){
...
var arr= [];
function copyRow() {
var row = grid.getSelected();
if (row) {
var newRow = mini.clone(row);
//delete newRow.id;
//alert(newRow);
grid.addRow(newRow, grid.setData(arr.push(newRow)));
grid.beginEditCell(arr);