Änderungen LKWs

This commit is contained in:
ja
2022-01-12 16:29:38 +01:00
parent f9ecb1602a
commit 662f0acadb
3 changed files with 1469 additions and 1420 deletions

View File

@@ -107,7 +107,7 @@
</thead>
<tbody>
<tr>
<td colspan="5" class="dataTables_empty">Lade Daten mittels Klicken</td>
<td colspan="5" class="dataTables_empty">Lade Daten mittels Klicken auf einen der beiden linken Knöpfe.</td>
</tr>
</tbody>
</table>
@@ -171,7 +171,7 @@
</thead>
<tbody>
<tr>
<td colspan="12" class="dataTables_empty">Lade Daten mittels Klicken</td>
<td colspan="12" class="dataTables_empty">Lade Daten mittels Klicken auf einen der beiden linken Knöpfe.</td>
</tr>
</tbody>
</table>
@@ -361,7 +361,43 @@
}
</script>
<script type="text/javascript">
<script type="text/javascript">
$("<%=tablemain.ClientID%>").dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bServerSide": true,
"sAjaxSource": "LKWs.aspx/filltable2",
"fnServerData": function (sSource, aoData, fnCallback) {
$.ajax({
"type": "POST",
"dataType": 'json',
"contentType": "application/json; charset=utf-8",
"url": sSource,
"data": "{'sEcho': '" + aoData[0].value + "'}",
"success": function (msg) {
fnCallback(msg.d);
}
});
}
});
$("<%=tablemain_m.ClientID%>").dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bServerSide": true,
"sAjaxSource": "LKWs.aspx/filltable2_M",
"fnServerData": function (sSource, aoData, fnCallback) {
$.ajax({
"type": "POST",
"dataType": 'json',
"contentType": "application/json; charset=utf-8",
"url": sSource,
"data": "{'sEcho': '" + aoData[0].value + "'}",
"success": function (msg) {
fnCallback(msg.d);
}
});
}
});
function renderTable(result) {
let dtData = [];
// Data tables requires all data to be stuffed into a generic jagged array, so loop through our