onclick event of thead, the tfoot will go between the thead and tbody
onclick event of thead, the tfoot will go between the thead and tbody
likepowerseen
Posts: 2Questions: 2Answers: 0
how can I do if i click the thead tag the tfoot will go between thead and tbody tag, if i click it again the thead tag, the tfoot tag will go back under the tbody tag like in the sample in image
Answers
You can use jQuery or Javascript techniques to move the
tfoot
element. This example shows one technique.By default when clicking the
thead
table is sorted by that column. You can turn this off or let it happen its up to you. Your click event should work either way.Kevin