laravel-datatables-docs icon indicating copy to clipboard operation
laravel-datatables-docs copied to clipboard

How define Global Parameters

Open Raza-DG opened this issue 1 year ago • 1 comments

'options' => [ 'searching' => true, 'paging' => true, 'info' => false, 'language' => [ 'sSearch' => '', 'searchPlaceholder' => 'Search', 'info' => 'START - END of TOTAL', 'sLengthMenu' => 'View MENU', 'paginate' => [ 'next' => '', 'previous' => '', ], ], ],

config/datatable.php may i define in config file but is not work

Raza-DG avatar Feb 14 '24 08:02 Raza-DG

I suggest you do it via JS file. See https://github.com/yajra/laravel-datatables-vite/blob/main/js/index.js#L15 for ref.

yajra avatar Feb 27 '24 07:02 yajra