Is is possible to disable the zebra stripping and the initial sort ?
Is is possible to disable the zebra stripping and the initial sort ?
Hi,
Fantastic plugin, the best in it's category, well done !
The only issue is that it's a bit slow in the searches, I'm trying to find ways of speeding, and I'd like to see how much it improves to avoid adding the odd and event classes (any class in the tbody actually, as I don't use them). How do I disable that ?
Otherwise, my table is sorted initially, can I tell datatables not to sort ?
X+
Fantastic plugin, the best in it's category, well done !
The only issue is that it's a bit slow in the searches, I'm trying to find ways of speeding, and I'd like to see how much it improves to avoid adding the odd and event classes (any class in the tbody actually, as I don't use them). How do I disable that ?
Otherwise, my table is sorted initially, can I tell datatables not to sort ?
X+
This discussion has been closed.
Replies
bSort controls sorting. If you want it disabled on initialization but then be able to use it. You should be able to set it to false and then re-eneabled it afterwards.
$('table.grid').dataTable({"bPaginate": false,"bSortClasses":false,asStripClasses:[]});
and it works really much faster. Thanks