Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

[SOLVED] Selecting which thead row to use for sorting

$
0
0
I have two thead rows. One is the header columns and the row below it is a row of checkboxes which will be a "select all" row. My table consists of lots of checkboxes and having a select all row will be very benefitial but i need the sorting to happen on the column header row and not the checkbox row. Thanks!

EDIT: It's amazing how fast you can find an answer only after you give up and post to the forums. For anyone wondering, just add "bSortCellsTop": true to your data table creation.

Viewing all articles
Browse latest Browse all 82109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>