title: How to apply CSS style which will be ignored for tfoot or last TR
body: <p>see the below css</p>
  
  <pre><code>.webgrid-table td:nth-child(1),th:nth-child(1)
   {
     display:none
   }
  </code></pre>
  
  <p>i just like to know how could i apply a style which will be applied for all tr except <code>last tr</code> or <code>tfoot</code>. guide me with that kind of css. </p>
  
  <p>below html is a sample html for my table.</p>
  
  <pre><code>&lt;table class="webgrid-table" data-swhgajax="true" data-swhgcontainer="gridContent" data-swhgcallback="initScripts"&gt;
      &lt;thead&gt;
          &lt;tr class="webgrid-header"&gt;
              &lt;th scope="col"&gt;
                  &lt;a data-swhglnk="true" href="http://localhost:13562/WebGrid_Sample2/Show2?sort=ID&amp;amp;sortdir=DESC&amp;amp;page=1"&gt;ID ▲&lt;/a&gt;
              &lt;/th&gt;
              &lt;th scope="col"&gt;
                  &lt;a data-swhglnk="true" href="http://localhost:13562/WebGrid_Sample2/Show2?sort=FirstName&amp;amp;sortdir=ASC&amp;amp;page=1"&gt;First Name&lt;/a&gt;
              &lt;/th&gt;
              &lt;th scope="col"&gt;
                  &lt;a data-swhglnk="true" href="http://localhost:13562/WebGrid_Sample2/Show2?sort=LastName&amp;amp;sortdir=ASC&amp;amp;page=1"&gt;Last Name&lt;/a&gt;
              &lt;/th&gt;
              &lt;th scope="col"&gt;
                  &lt;a data-swhglnk="true" href="http://localhost:13562/WebGrid_Sample2/Show2?sort=StateName&amp;amp;sortdir=ASC&amp;amp;page=1"&gt;State Name&lt;/a&gt;
              &lt;/th&gt;
              &lt;th scope="col"&gt;
                  &lt;a data-swhglnk="true" href="http://localhost:13562/WebGrid_Sample2/Show2?sort=CityName&amp;amp;sortdir=ASC&amp;amp;page=1"&gt;City Name&lt;/a&gt;
              &lt;/th&gt;
              &lt;th scope="col"&gt;
                  IsActive
              &lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tfoot&gt;
          &lt;tr class="webgrid-footer"&gt;
              &lt;td colspan="6"&gt;
                  &lt;div id="content"&gt;
  
                      &lt;div id="pager"&gt;
                          &lt;ul class="paginate pag5 clearfix"&gt;
                              &lt;li class="single"&gt;Page 5 of 5 of 50&lt;/li&gt;
                              &lt;li class="navpage"&gt;&lt;a href="http://localhost:13562/SamplePager/Index"&gt;prev&lt;/a&gt;&lt;/li&gt;
                              &lt;li class="navpage"&gt;&lt;a href="http://localhost:13562/SamplePager/Index"&gt;next&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="http://localhost:13562/SamplePager/Index"&gt;1&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="http://localhost:13562/SamplePager/Index"&gt;2&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="http://localhost:13562/SamplePager/Index"&gt;3&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="http://localhost:13562/SamplePager/Index"&gt;4&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="http://localhost:13562/SamplePager/Index"&gt;5&lt;/a&gt;&lt;/li&gt;
                              &lt;li class="current"&gt;6&lt;/li&gt;
                              &lt;li class="navpage"&gt;&lt;a href=""&gt;next&lt;/a&gt;&lt;/li&gt;
                              &lt;li class="navpage"&gt;&lt;a href=""&gt;last&lt;/a&gt;&lt;/li&gt;
                              &lt;li class="single"&gt;&lt;div id="loader"&gt;Loading....&lt;/div&gt;&lt;/li&gt;
                          &lt;/ul&gt;
                      &lt;/div&gt;
  
  
                  &lt;/div&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tfoot&gt;
      &lt;tbody&gt;
          &lt;tr class="webgrid-row-style"&gt;
              &lt;td class="SmallCols"&gt;1&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Amit&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Ghosh&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;West Bengal&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Kolkata&lt;/td&gt;
              &lt;td class="text-center checkbox-width SmallCols"&gt;
                  &lt;input type="checkbox" id="select" class="box" name="select" checked="'checked'" value="True"&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr class="webgrid-alternating-row"&gt;
              &lt;td class="SmallCols"&gt;2&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Tridip&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Bhattacharjee&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Bihar&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;DharBganga&lt;/td&gt;
              &lt;td class="text-center checkbox-width SmallCols"&gt;
                  &lt;input type="checkbox" id="select" class="box" name="select" checked="'checked'" value="True"&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr class="webgrid-row-style"&gt;
              &lt;td class="SmallCols"&gt;3&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Dipyendu&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Majumdar&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Orissa&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Puri&lt;/td&gt;
              &lt;td class="text-center checkbox-width SmallCols"&gt;
                  &lt;input type="checkbox" id="select" class="box" name="select" value="False"&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr class="webgrid-alternating-row"&gt;
              &lt;td class="SmallCols"&gt;4&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Arijit&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Banerjee&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;West Bengal&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Barrack Pore&lt;/td&gt;
              &lt;td class="text-center checkbox-width SmallCols"&gt;
                  &lt;input type="checkbox" id="select" class="box" name="select" value="False"&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr class="webgrid-row-style"&gt;
              &lt;td class="SmallCols"&gt;5&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Madhabi&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Sinha&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;West Bengal&lt;/td&gt;
              &lt;td class="NameColWidth"&gt;Ranaghat&lt;/td&gt;
              &lt;td class="text-center checkbox-width SmallCols"&gt;
                  &lt;input type="checkbox" id="select" class="box" name="select" checked="'checked'" value="True"&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>thanks</p>