9 lines
323 B
Plaintext
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})
|
||
|
});
|
||
|
} );
|