title: Improve performance in Hiding columns of table
body: <p>I am doing hiding of columns while clicking on it's header. My table has column span and also rowspan. Code what i am using is</p>
  
  <pre><code>selector = " &gt; tbody &gt; tr:has(td) td:nth-child(" + Ix + ")";
  
  $(tbl).find(selector).each(function () {
  
      if (rIx &gt; 0) {
              HideAndShowEle($(this)[0], bShow, true);
      }
  
  })
  </code></pre>
  
  <p>Hiding for big tables which has more than 200 rows and 20 columns are very slow. Help me to find any other way to select particular columns td in better way</p>