gonito/templates/result-table.julius

9 lines
323 B
Plaintext
Raw Normal View History

2018-11-12 14:12:51 +01:00
$(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})
});
} );