HI all,

Is it possible to generate a sortable table that has a footer as well as a 
header?

I had a quick look at the source and it appears the sorter code treats all 
rows apart from the first as sortable but wondered if there was any tricks 
to get this working?

I've tried putting the footer in a <tfoot> but that doesnkt work in IE or 
chrome :-(

example of what I am trying to do

    <table class="pane sortable" id="mytable">
      <thead>
      <tr>
        <td class="pane-header">Header1</td>
        <td class="pane-header" style="width:5em">Header1</td>
      </tr>
      </thead>     
      <tbody>
        <!-- only entries in here should be sortable. -->
        <j:forEach var="p" items="${it.someList}">
          <tr>
            <td class="pane" data="${p.desc}">${p.desc}</td>
            <td class="pane" data="${p.value}">${p.value}</td>
          </tr>
        </j:forEach>
      </tbody>
      <tfoot>
        <!-- these entries also get sorted but should always be the last 
rows :-( -->
        <tr>
          <td class="pane-header">Total</td>
          <td class="pane-header">${it.totalString}</td>
      </tr>
      </tfoot>
    </table>

Thanks in advance.

/James

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to