Feature disabling not working

Feature disabling not working

tsathianathantsathianathan Posts: 2Questions: 2Answers: 0

I'm trying to disable sorting and pagination on the table but it is not working.

jQuery(document).ready(function($) {
$('#example').DataTable({
"paging": false,
"ordering": false
});
});

The table is functioning, so the jquery scripts are loading but why arent the options taking effect?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin
    Answer ✓

    Here is your code in an example and it appears to work as expected.

    Can you link to a test case showing the issue, as required in the forum rules. Please also check that you are using DataTables 1.10.

    Allan

This discussion has been closed.