实现功能:点击指定单元格后会弹出新窗口,并且最后一行合计不会触发单元格触发函数 <script type="text/javascript"> grid.on('cellclick',function(grid, rowIndex, columnIndex, e){ var selections = grid.getSelectionModel().getSelections();//获取行 var record = grid.getStore().getAt(rowInd…
//开/关 var only = document.getElementById('only'); var centerBox = document.getElementById('centerBox'); var off_2=document.getElementById("off_2"); //获取实际宽高 // var centerW=centerBox.offsetWidth; // var centerH=centerBox.offsetHeight; // var off=…
function Test() { var rows = document.getElementById("tbDetail").rows; if (rows.length > 0) { for (var i = 1; i < rows.length; i++) { (function (i) { //var temp = rows[i].cells[0].childNodes[1].value; var temp = rows[i].cells[0].childNodes…
<el-table :cell-style="set_cell_style"> set_cell_style({row, column, rowIndex, columnIndex}){ // 阻断不为0 if (column.label === '阻断'){ let value = 0 // smell.BLOCKER let prop = column.property.split('.') if (prop.length === 2){ value = row[pro…