Standardize option for DataTables

This commit is contained in:
Eric A. Miller
2014-06-19 21:33:51 -04:00
parent 22a446f144
commit e1250011cf
25 changed files with 124 additions and 32 deletions

View File

@@ -13,9 +13,13 @@
<script type="text/javascript">
$(document).ready(function() {
var table = $('#da-data-table').dataTable({
"deferRender": true,
"processing": true,
"stateSave": true,
"pageLength": 25,
"language": {
"search": 'Filter records: '
},
"deferRender": true,
"data": [% results %],
"columns": [
{

View File

@@ -387,8 +387,12 @@ $(document).ready(function() {
{ "type": 'natural', "targets": [ 'natural' ] }
],
"order": [[ 1, 'asc' ]],
"processing": true,
"stateSave": true,
"pageLength": 25,
"language": {
"search": 'Filter records: '
},
} );
} );
</script>