Change default page length to 25 and save state in DataTables tables
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
$(document).ready(function() {
|
||||
var table = $('#data-table').dataTable({
|
||||
"deferRender": true,
|
||||
"stateSave": true,
|
||||
"pageLength": 25,
|
||||
"data": [% results %],
|
||||
"columns": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user