kopia lustrzana https://github.com/magicbug/Cloudlog
[Mode editor] Tweaked column filtering
rodzic
ba1b1402e4
commit
0681975c45
|
@ -25,10 +25,10 @@
|
|||
<table style="width:100%" class="modetable table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Mode</th>
|
||||
<th scope="col">Sub-Mode</th>
|
||||
<th scope="col">SSB / DATA / CW</th>
|
||||
<th scope="col">Status</th>
|
||||
<th class="select-filter" scope="col">Mode</th>
|
||||
<th class="select-filter" scope="col">Sub-Mode</th>
|
||||
<th class="select-filter" scope="col">SSB / DATA / CW</th>
|
||||
<th class="select-filter" scope="col">Status</th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
|
@ -60,13 +60,13 @@
|
|||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<table>
|
||||
|
|
|
@ -8,7 +8,7 @@ $('.modetable').DataTable({
|
|||
"scrollX": true,
|
||||
initComplete: function () {
|
||||
this.api()
|
||||
.columns()
|
||||
.columns('.select-filter')
|
||||
.every(function () {
|
||||
var column = this;
|
||||
var select = $('<select><option value=""></option></select>')
|
||||
|
@ -29,6 +29,7 @@ $('.modetable').DataTable({
|
|||
});
|
||||
},
|
||||
});
|
||||
$($.fn.dataTable.tables(true)).DataTable().columns.adjust();
|
||||
|
||||
function createModeDialog() {
|
||||
$.ajax({
|
||||
|
|
Ładowanie…
Reference in New Issue