Nur Details von einem Patienten #19
This commit is contained in:
parent
7382f40ec7
commit
43431789b7
5 changed files with 45 additions and 10 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('#t__rescuer_all').DataTable({
|
||||
let table = $('#t__rescuer_all').DataTable({
|
||||
language: {
|
||||
url: 'https://cdn.datatables.net/plug-ins/1.11.3/i18n/de_de.json',
|
||||
},
|
||||
|
@ -26,7 +26,14 @@
|
|||
columnDefs: [
|
||||
{ responsivePriority: 1, targets: 0 },
|
||||
]
|
||||
})
|
||||
});
|
||||
table.on( 'responsive-display', function ( e, datatable, row, showHide, update ) {
|
||||
table.rows().every( function () {
|
||||
if (showHide && row.index() !== this.index() && this.child.isShown()) {
|
||||
$('td', this.node()).eq(0).click();
|
||||
}
|
||||
});
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue