code: function removeColByCell($cell) {
    const index = $cell.index();
  
    $cell.parents('table').find('tr').each((n, tr) => {
      $(tr).children().eq(index).remove();
    });
  }
docs: Remove column by given cell
  @param {jQuery} $cell - jQuery wrapped table cell