Где и кого надо удалить:
const tableSelector = 'здесь селектор вашей таблицы';
const columnIndices = [ 8, 9, 10 ];
const $rows = $(`${tableSelector} tr`);
// или
const { rows } = document.querySelector(tableSelector);
Удаляем:
$rows.each((_, n) =>
$('> *', n)
.filter(i => ~columnIndices.indexOf(i))
.remove()
);
или
$rows
.children(`${columnIndices.map(n => `:nth-child(${-~n})`)}`)
.detach();
или
Array.prototype.forEach.call(rows, function(n) {
for (let i = n.cells.length; i--; this.has(i) && n.deleteCell(i)) ;
}, new Set(columnIndices));
или
for (const { cells } of rows) {
columnIndices.map(n => cells[n]).forEach(n => n?.remove());
}
или
for (const n of rows) {
n.replaceChildren(...Array.prototype.filter.call(
n.cells,
(_, i) => !columnIndices.includes(i)
));
}