-
v笑向前走 小试身手Lv3
发表于2021-11-23 15:04
楼主
1个回答
var report = g_formmgr.rpts.GRID1;
var grid = report.gridbase;
var count = grid.getProperty("heights").length;
//var srcCells = grid.getInsertCell("A3");
//console.log("====="+count)
for(var i = 2;i < count;i ++){
var tempCell = grid.getCell(i,0);
tempCell.setDisplayText(i-1);
grid.renderCell(tempCell);
}