2019-03-05 23:52:45 +01:00
|
|
|
# Latest documentation available at https://omines.github.io/datatables-bundle/#configuration
|
|
|
|
datatables:
|
2019-03-06 00:02:33 +01:00
|
|
|
|
|
|
|
language_from_cdn: false
|
|
|
|
|
2019-03-05 23:52:45 +01:00
|
|
|
# Set options, as documented at https://datatables.net/reference/option/
|
|
|
|
options:
|
|
|
|
lengthMenu : [10, 25, 50, 100, 250, 500, 1000, 2500]
|
|
|
|
pageLength: 50
|
2019-03-12 19:09:22 +01:00
|
|
|
#dom: "<'row' <'col-sm-12' tr>><'row' <'col-sm-6'l><'col-sm-6 text-right'pif>>"
|
|
|
|
pagingType: 'simple_numbers'
|
|
|
|
searching: true
|
2019-03-05 23:52:45 +01:00
|
|
|
|
|
|
|
template_parameters:
|
|
|
|
# Example classes to integrate nicely with Bootstrap 3.x
|
|
|
|
className: 'table table-striped table-hover table-sm data-table'
|
|
|
|
|
|
|
|
# You can for example override this to "tables" to keep the translation domains separated nicely
|
|
|
|
translation_domain: 'messages'
|