mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 01:46:27 +02:00
Change sended list to use server side datatable
This commit is contained in:
parent
30386f8caf
commit
170a00e30a
4 changed files with 85 additions and 21 deletions
|
@ -69,7 +69,7 @@ jQuery(document).ready(function ()
|
|||
{
|
||||
jQuery('.datatable').DataTable({
|
||||
"pageLength": 25,
|
||||
"lengthMenu": [[25, 50, 100, 1000, 10000, -1], [25, 50, 100, 1000, 10000, "All"]],
|
||||
"lengthMenu": [[25, 50, 100, 1000, 10000, -1], [25, 50, 100, 1000, 10000]],
|
||||
"language": {
|
||||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
|
@ -77,7 +77,7 @@ jQuery(document).ready(function ()
|
|||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
}],
|
||||
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
'url': '<?php echo \descartes\Router::url('Sended', 'list_json'); ?>',
|
||||
'dataSrc': 'data',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue