Hi I have a table with a 2nd column with date format (dd/mm/yyyy hh:mm:ss am/pm).I only want to allow sorting by date on the table.Everything is working as expected.I would like to disable pagination on the table.Where should I add the code "bSortable":false ? I have tried a few things but it is not working as expected.Having problems getting the syntax right I am using the following js code in the header:
<script type="text/javascript"> $(document).ready( function() { $('#gradientstyle').dataTable( {"aoColumns": [{ "bSortable": false },null,{"bSortable": false },{"bSortable": false },{ "bSortable": false }] } );} ); </script>and the following code before closing the html body.
<script type=\"text/javascript\"> $(document).ready(function () {$('#gradientstyle').dataTable({aoColumnDefs: [{ "sType": "datetime-au", "aTargets": [1] }] </script>