datatable for qslprint

这个提交包含在:
HB9HIL 2023-12-17 10:45:14 +01:00
父节点 6d7df1a2d3
当前提交 fbed324ca6
共有 2 个文件被更改,包括 7 次插入2 次删除

查看文件

@ -13,8 +13,8 @@ if (empty($station_id)) {
} }
if ($qsos->result() != NULL) { if ($qsos->result() != NULL) {
echo '<div style="padding-top: 10px; margin-top: 0px;" class="container logbook">'; echo '<div style="padding-top: 10px; margin-top: 0px;" class="container logbook mb-4">';
echo '<table style="width:100%" class="table table-sm table-bordered table-hover table-striped table-condensed qslprint"> echo '<table style="width:100%" class="table table-sm table-bordered table-hover table-striped table-condensed qslprint" id="qslprint_table">
<thead> <thead>
<tr> <tr>
<th style=\'text-align: center\'><div class="form-check" style="margin-top: -1.5em"><input class="form-check-input" type="checkbox" id="checkBoxAll" /></div></th> <th style=\'text-align: center\'><div class="form-check" style="margin-top: -1.5em"><input class="form-check-input" type="checkbox" id="checkBoxAll" /></div></th>

查看文件

@ -83,6 +83,11 @@ $(".station_id").change(function(){
}); });
}); });
$('#qslprint_table').DataTable({
"stateSave": true,
paging: false
});
function showOqrs(id) { function showOqrs(id) {
$.ajax({ $.ajax({
url: base_url + 'index.php/qslprint/show_oqrs', url: base_url + 'index.php/qslprint/show_oqrs',