IsEnabled a CheckPoint-hoz
This commit is contained in:
@@ -46,19 +46,19 @@
|
||||
{ data: "roleDTO.roleName" },
|
||||
{ data: "checkListTemplateHeaderDTO.description" },
|
||||
{
|
||||
data: "enabled",
|
||||
searchable: false,
|
||||
sortable: false,
|
||||
className: "text-center",
|
||||
render: function ( data, type, row ) {
|
||||
if (data === true) {
|
||||
return '<input type="checkbox" class="editor-active" disabled checked>';
|
||||
}
|
||||
if (data === false) {
|
||||
return '<input type="checkbox" class="editor-active" disabled>';
|
||||
}
|
||||
return data;
|
||||
data: "enabled",
|
||||
searchable: false,
|
||||
sortable: false,
|
||||
className: "text-center",
|
||||
render: function ( data, type, row ) {
|
||||
if (data === true) {
|
||||
return '<input type="checkbox" class="form-check-input no-click" checked>';
|
||||
}
|
||||
if (data === false) {
|
||||
return '<input type="checkbox" class="form-check-input no-click">';
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
},
|
||||
{ data: null, render: function (data, type, row) {
|
||||
|
||||
Reference in New Issue
Block a user