extract common DT options to template
This commit is contained in:
11
Netdisco/share/views/ajax/datatabledefaults.tt
Normal file
11
Netdisco/share/views/ajax/datatabledefaults.tt
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
"processing": true,
|
||||
"stateSave": true,
|
||||
"pageLength": [% settings.table_pagesize %],
|
||||
"lengthMenu": [ [10, 25, 50, 100, -1], [10, 25, 50, 100, "All"] ],
|
||||
"dom": '<"top"l<"nd_datatables-pager"p>f>rt<"bottom"><"clear">',
|
||||
"language": {
|
||||
"search": '_INPUT_',
|
||||
"searchPlaceholder": 'Filter records...',
|
||||
"lengthMenu": "Show _MENU_ records."
|
||||
}
|
||||
Reference in New Issue
Block a user