Change default page length to 25 and save state in DataTables tables
This commit is contained in:
@@ -177,6 +177,8 @@ $(document).ready(function() {
|
||||
{ "visible": false, "targets": 0 }
|
||||
],
|
||||
"order": [[ 0, 'asc' ]],
|
||||
"stateSave": true,
|
||||
"pageLength": 25,
|
||||
"drawCallback": function ( settings ) {
|
||||
var api = this.api();
|
||||
var rows = api.rows( {page:'current'} ).nodes();
|
||||
|
||||
Reference in New Issue
Block a user