title: Delete column contents in html table with loop
body: <p>I have an html table with rows filled from loop and I want to delete the last two columns from all those rows inside click event on print button :</p>
  
  <p><strong>JS :</strong></p>
  
  <pre><code>$("#print").on('click', function(){  
       //I want to remove columns HERE
  }) 
  </code></pre>
  
  <p>How can I do this?</p>