-
chenzyd 数据小白Lv1
发表于2023-5-11 16:33
楼主
本帖最后由 chenzyd 于 2023-5-12 18:28 编辑
var report = g_formmgr.rpts.GRID1;
var grid = report.gridbase;
var count = grid.getProperty("heights").length;
for(var i = 2;i < count;i ++){
var tempCell = grid.getCell(i,2);
tempCell.setDisplayText(i-1);
grid.renderCell(tempCell);
}
var v = gridcell.getValue();
debugger;
var c =document.getElementsByClassName('eui-anim').length;
for(var r=2;r<c+1;r++){
var grid = g_formmgr.rpts["GRID1"];//对应表格id
grid.setValue({"name":"A"+r,"value":v});
}
alert(g_formmgr.rpts["GRID1"].gridbase.addDelBtnSelectCell.row);
var report = g_formmgr.rpts.GRID1;
var grid = report.gridbase;
var count = grid.getProperty("heights").length;
for(var i = 2;i < count;i ++){
var tempCell = grid.getCell(i,2);
tempCell.setDisplayText(i-1);
grid.renderCell(tempCell);
}
var v = gridcell.getValue();
debugger;
var c =document.getElementsByClassName('eui-anim').length;
for(var r=2;r<c+1;r++){
var grid = g_formmgr.rpts["GRID1"];//对应表格id
grid.setValue({"name":"A"+r,"value":v});
}
alert(g_formmgr.rpts["GRID1"].gridbase.addDelBtnSelectCell.row);