Just started with Datatables. By default, when the user clicks a column row to sort, the whole column is shaded. Can somebody tell how to turn this feature off? I've been messing with the built-in CSS classes, and I had high hopes for the asSorting parameter, but I don't seem to be able to do it. If this is somewhere obvious on the Datatables web page and I'm not seeing it, sorry, but I can't find it.
Thanks for any help.
As Mathieu indicates, order classes can now be disabled by setting orderClasses
to false
.
$('#example').dataTable({
"orderClasses": false
});
As shown in: DataTables:Features, this functionality can be disabled by setting bSortClasses
to false
.
$('#example').dataTable({
"bSortClasses": false
});
You can just remove styles for td.sorting_1
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With