update buttons.server-side.js to follow latest datatables
Summary of problem or feature request
Latest datatables doesn't use legacy dom option and doesn't require jquery too. so it is better to update this file with latest code standards.
Code snippet of problem
It's not a bug but when i am using bootstrap5 it doesn't align properly with search box. even pagination at bottom of table displays on left instead of right (when using normal datatables with bootstrap)
when using yaja datatables server side
** when using regular datatables with bootstrap styling**
System details
- Operating System: Windows 11
- PHP Version: 8.2.17
- Laravel Version: 11.20.0
- Laravel-DataTables Version: 11.1.5
- Laravel-datatables-buttons version: 11.2.0
I think the issue is not with the script but maybe with your dom defaults.
Try to review your HTML builder (https://github.com/yajra/laravel-datatables-buttons/blob/master/src/Generators/stubs/datatables.stub#L46) and ensure dom is not defined.