default sort order

default sort order

wjm69wjm69 Posts: 12Questions: 5Answers: 1

I know this is a stupid question, sorry in advance.
This code is on the example:
$(document).ready(function() { $('#example').DataTable( { "order": [[ 3, "desc" ]] } ); } );

My table is from the generator.

does that code go in the table.tablename.js file?

my .ready function does not seems to ignore it.

Thanks, Wiley

This discussion has been closed.