This commit is contained in:
ibuler
2016-11-03 19:42:47 +08:00
parent 61eadf6891
commit f437d3f883
3 changed files with 6 additions and 4 deletions

View File

@@ -283,9 +283,10 @@ jumpserver.initDataTable = function (options) {
var ele = options.ele || $('.dataTable');
var columnDefs = [
{
targets: 0, orderable: false,
targets: 0,
orderable: false,
createdCell: function(td) {
$(td).html('<div class="checkbox checkbox-default"><input type="checkbox" class="ipt_check"><label></label></div>');
$(td).html('<input type="checkbox" class="ipt_check">');
}
},
{className: 'text-center', targets: '_all'}