gonito/templates/result-table.julius

10 lines
353 B
Plaintext
Raw Normal View History

2018-11-12 14:12:51 +01:00
$(document).ready(function() {
$(#{jsSelector}).DataTable({
'pageLength': 50,
2018-11-17 13:49:44 +01:00
'lengthChange': false,
2018-11-12 14:12:51 +01:00
'order': [[0, 'asc'], [#{delta} + ($.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray})).length-1, 'desc']],
'columnDefs': $.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray})
});
} );