Change default page length to 25 and save state in DataTables tables

This commit is contained in:
Eric A. Miller
2014-06-08 22:54:34 -04:00
parent f00ebf9ecc
commit 16c52fa8a6
25 changed files with 50 additions and 4 deletions

View File

@@ -14,6 +14,8 @@
$(document).ready(function() {
var table = $('#data-table').dataTable({
"deferRender": true,
"stateSave": true,
"pageLength": 25,
"data": [% results %],
"columns": [
{