Standardize option for DataTables
This commit is contained in:
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user