|
Lines 428-453
Link Here
|
| 428 |
return false; |
428 |
return false; |
| 429 |
}); |
429 |
}); |
| 430 |
|
430 |
|
| 431 |
var itemst = $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, { |
431 |
if( $("#itemst").length > 0 ){ |
| 432 |
"order": [[ 1, "asc" ]], |
432 |
var itemst = $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 433 |
"columnDefs": [ |
433 |
"order": [[ 1, "asc" ]], |
| 434 |
{ "targets": [ 0,-1 ], "sortable": false, "searchable": false } |
434 |
"columnDefs": [ |
| 435 |
], |
435 |
{ "targets": [ 0,-1 ], "sortable": false, "searchable": false } |
| 436 |
"columns": [ |
436 |
], |
| 437 |
null, |
437 |
"columns": [ |
| 438 |
{ "type": "anti-the" }, |
438 |
null, |
| 439 |
null, |
439 |
{ "type": "anti-the" }, |
| 440 |
null, |
440 |
null, |
| 441 |
null |
441 |
null, |
| 442 |
], |
442 |
null |
| 443 |
|
443 |
], |
| 444 |
})); |
444 |
})); |
| 445 |
|
445 |
|
| 446 |
var buttons = new $.fn.dataTable.Buttons(itemst, { |
446 |
var buttons = new $.fn.dataTable.Buttons(itemst, { |
| 447 |
buttons: [ |
447 |
buttons: [ |
| 448 |
'print' |
448 |
'print' |
| 449 |
] |
449 |
] |
| 450 |
}).container().appendTo($('#toolbar')); |
450 |
}).container().appendTo($('#toolbar')); |
|
|
451 |
} |
| 451 |
|
452 |
|
| 452 |
$(".cb").change(function(){ |
453 |
$(".cb").change(function(){ |
| 453 |
selRecord( $(this).val(), $(this).prop("checked") ); |
454 |
selRecord( $(this).val(), $(this).prop("checked") ); |
| 454 |
- |
|
|