Sorting in datatable bugged?
Sorting in datatable bugged?
TDestiny
Posts: 3Questions: 2Answers: 0
So I have this datatable that I want to order by ID, but when I initialize the datatable she gets automatically sorted in an asc way, I want it in desc. Can someone help??
<script>
$(document).ready(function() {
$('#mail').DataTable({"language": {
"url": "js/localeDataTable.js",
}}
);
});
</script>
This discussion has been closed.
Answers
https://datatables.net/examples/basic_init/table_sorting.html
That does not work in my case
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin