(table, rowIndex)
| 292 | } |
| 293 | |
| 294 | function addRowBelow(table, rowIndex) { |
| 295 | const newRow = table.insertRow(rowIndex + 1); |
| 296 | const colCount = table.rows[0].children.length; |
| 297 | for (let i = 0; i < colCount; i++) { |
| 298 | const cell = newRow.insertCell(); |
| 299 | cell.style.cssText = 'padding: 12px; border: 1px solid #e5e7eb; color: #374151; min-height: 20px;'; |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | function addColumnLeft(table, colIndex) { |
| 304 | Array.from(table.rows).forEach((row, rowIdx) => { |
no outgoing calls
no test coverage detected