deving
This commit is contained in:
23
res/assets/js/datatable/datatable.init.js
Normal file
23
res/assets/js/datatable/datatable.init.js
Normal file
@@ -0,0 +1,23 @@
|
||||
$(function () {
|
||||
// responsive table
|
||||
$('#config-table').DataTable({
|
||||
responsive: true
|
||||
});
|
||||
|
||||
$("#all-student").DataTable({
|
||||
columnDefs: [{
|
||||
targets: [0],
|
||||
orderData: [0, 1],
|
||||
},
|
||||
{
|
||||
targets: [1],
|
||||
orderData: [1, 0],
|
||||
},
|
||||
{
|
||||
targets: [4],
|
||||
orderData: [4, 0],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user