1金币
最佳答案我这边写了个测试代码,附在下面,应该是能够满足你的需求,你可以试试。
sheet.bind(GC.Spread.Sheets.Events.PivotTableChanged, function (args: any) {
let all = spread.getActiveSheet().pivotTables.all();
all.forEach(element => {
let range = element.getRange();
let lastColIndex = range.content.col + range.content.colCount;
if (spread.getAct ...
| |
| |
| |
| |
| |
| |
| |
| |
| |