Where datatables get initialized ? need to add some properties
I want to add datatables properties like
buttons: [
{extend: 'copy',className: 'btn-sm'},
{extend: 'csv',title: 'ExampleFile', className: 'btn-sm'},
{extend: 'pdf', title: 'ExampleFile', className: 'btn-sm'},
{extend: 'print',className: 'btn-sm'}
]
But couldn't find it. Any guide on, how to add this ?
Comments
array('EDIT', 'VIEW', 'DELETE')
You can use a key/value for the array as well to specify the URL (key) and the label (value). The EDIT, VIEW and DELETE are just shortcuts the FUEL translates them to the proper URLs.