gonito/templates/result-table.julius
2018-11-12 14:12:51 +01:00

9 lines
323 B
Plaintext

$(document).ready(function() {
$(#{jsSelector}).DataTable({
'pageLength': 50,
'order': [[0, 'asc'], [#{delta} + ($.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray})).length-1, 'desc']],
'columnDefs': $.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray})
});
} );