[Mode editor] Tweaked column filtering
这个提交包含在:
		
							父节点
							
								
									ba1b1402e4
								
							
						
					
					
						当前提交
						0681975c45
					
				
					共有  2 个文件被更改,包括 15 次插入 和 14 次删除
				
			
		|  | @ -25,10 +25,10 @@ | ||||||
| 		<table style="width:100%" class="modetable table table-striped"> | 		<table style="width:100%" class="modetable table table-striped"> | ||||||
| 			<thead> | 			<thead> | ||||||
| 				<tr> | 				<tr> | ||||||
| 					<th scope="col">Mode</th> | 					<th class="select-filter" scope="col">Mode</th> | ||||||
| 					<th scope="col">Sub-Mode</th> | 					<th class="select-filter" scope="col">Sub-Mode</th> | ||||||
| 					<th scope="col">SSB / DATA / CW</th> | 					<th class="select-filter" scope="col">SSB / DATA / CW</th> | ||||||
| 					<th scope="col">Status</th> | 					<th class="select-filter" scope="col">Status</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> | ||||||
|  | @ -60,13 +60,13 @@ | ||||||
| 			</tbody> | 			</tbody> | ||||||
| 			<tfoot> | 			<tfoot> | ||||||
| 				<tr> | 				<tr> | ||||||
| 					<th scope="col"></th> | 					<th></th> | ||||||
| 					<th scope="col"></th> | 					<th></th> | ||||||
| 					<th scope="col"></th> | 					<th></th> | ||||||
| 					<th scope="col"></th> | 					<th></th> | ||||||
|                     <th scope="col"></th> | 					<th></th> | ||||||
| 					<th scope="col"></th> | 					<th></th> | ||||||
| 					<th scope="col"></th> | 					<th></th> | ||||||
| 				</tr> | 				</tr> | ||||||
| 			</tfoot> | 			</tfoot> | ||||||
| 		<table> | 		<table> | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ $('.modetable').DataTable({ | ||||||
| 	"scrollX": true,	 | 	"scrollX": true,	 | ||||||
| 	initComplete: function () { | 	initComplete: function () { | ||||||
| 		this.api() | 		this.api() | ||||||
| 			.columns() | 			.columns('.select-filter') | ||||||
| 			.every(function () { | 			.every(function () { | ||||||
| 				var column = this; | 				var column = this; | ||||||
| 				var select = $('<select><option value=""></option></select>') | 				var select = $('<select><option value=""></option></select>') | ||||||
|  | @ -29,6 +29,7 @@ $('.modetable').DataTable({ | ||||||
| 			}); | 			}); | ||||||
| 	}, | 	}, | ||||||
| }); | }); | ||||||
|  | $($.fn.dataTable.tables(true)).DataTable().columns.adjust(); | ||||||
| 
 | 
 | ||||||
| function createModeDialog() { | function createModeDialog() { | ||||||
| 	$.ajax({ | 	$.ajax({ | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用