How to change the position of sorting icons?
How to change the position of sorting icons?
I have 2 theads in my header.
One thead row have header name and another one thead row have custom filters.
But sorting icons appears on Second row(Its in custom row filters section row).
But i need to appear this(sorting icons) in near headers label row(First row).
How to change this icons to first row?
My code:
Rank
Name
Asset Size
ResiCov
CommCov
Type
Uncoded Contact Activity
One thead row have header name and another one thead row have custom filters.
But sorting icons appears on Second row(Its in custom row filters section row).
But i need to appear this(sorting icons) in near headers label row(First row).
How to change this icons to first row?
My code:
Rank
Name
Asset Size
ResiCov
CommCov
Type
Uncoded Contact Activity
This discussion has been closed.
Replies
By default, the bottom cells are used. Setting bSortCellsTop to true changes it to the top cells.
http://datatables.net/ref#bSortCellsTop
[code]
$(document).ready( function() {
$('#example').dataTable( {
"bSortCellsTop": true
} );
} );
[/code]