' +
'
' +
'' +
$user_number +
'
' +
'
' +
'' +
$note +
'
' +
'
' +
'' +
$view +
'
' +
'
'
);
}
}
],
order: [[2, 'desc']],
dom:
'<"card-header py-sm-0"<"head-label text-center">f' +
'>t' +
'<"row mx-4"' +
'<"col-sm-6 col-12 text-center text-xl-start pb-2 pb-xl-0 px-0"i>' +
'<"col-sm-6 col-12 d-flex justify-content-center justify-content-xl-end px-0"p>' +
'>',
lengthMenu: [5],
language: {
sLengthMenu: '_MENU_',
search: '',
searchPlaceholder: 'Course Name'
},
// Buttons with Dropdown
// For responsive popup
responsive: {
details: {
display: $.fn.dataTable.Responsive.display.modal({
header: function (row) {
var data = row.data();
return 'Details of ' + data['order'];
}
}),
type: 'column',
renderer: function (api, rowIdx, columns) {
var data = $.map(columns, function (col, i) {
return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box)
? '