Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

table sort datatable

//when using thymeleaf

$(document).ready(function() {
    $('#example').DataTable( {
        "order": [
        	[0, "desc"]
        ]
    } );
} );
 
PREVIOUS NEXT
Tagged: #table #sort #datatable
ADD COMMENT
Topic
Name
7+6 =