MCPcopy Create free account
hub / github.com/dajie111/nodeseek-userscript / deleteColumn

Function deleteColumn

notes.js:335–341  ·  view source on GitHub ↗
(table, colIndex)

Source from the content-addressed store, hash-verified

333 }
334
335 function deleteColumn(table, colIndex) {
336 Array.from(table.rows).forEach(row => {
337 if (row.children[colIndex]) {
338 row.deleteCell(colIndex);
339 }
340 });
341 }
342
343 // 全局更新保存状态函数
344 function updateSaveState() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected