Sort arrows don't automatically display
Sort arrows don't automatically display
arodriguez
Posts: 1Questions: 1Answers: 0
Very new to this plug-in. Using v1.13.6, when I publish with the basic function, the sort arrows do not automatically display:
<link rel="stylesheet" type="text/css" href="../DataTables/DataTables-1.13.6/css/jquery.dataTables.css" />
<script type="text/javascript" charset="utf8" src="../DataTables/DataTables-1.13.6/js/jquery.dataTables.js"></script>
<script>
$(document).ready( function () {
$('#sortable').DataTable( {
"paging": false
} );
} );
</script>
Is there a specific setting or option to display the sort arrows?
Answers
I copied your code into this test case and the sort arrows are displayed:
https://live.datatables.net/kuqodexo/1/edit
There is nothing obvious in your code above that indicates why the arrows aren't showing. Look at the browser's console for errors.
They will appear unless you have
ordering
set false. Maybe you have this setting turned of on yourtable
tag using HTML5 data attributes.Can you post a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin