(sheetName, start, numDelete, numInsert)
| 138 | } |
| 139 | |
| 140 | spliceRows(sheetName, start, numDelete, numInsert) { |
| 141 | const sheet = this.sheets[sheetName]; |
| 142 | if (sheet) { |
| 143 | const inserts = []; |
| 144 | for (let i = 0; i < numInsert; i++) { |
| 145 | inserts.push([]); |
| 146 | } |
| 147 | sheet.splice(start, numDelete, ...inserts); |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | spliceColumns(sheetName, start, numDelete, numInsert) { |
| 152 | const sheet = this.sheets[sheetName]; |