laravel-datatables-buttons
laravel-datatables-buttons copied to clipboard
Make custom export button dropdown and export only current page
Summary of problem or feature request
When exporting excel using options include serverSide always export all data but not the current page. I want to add a new button in the dropdown button. example: Excel(current page) and make it export only data visible current page. Could you tell me how to make it?
Code snippet of problem
System details
- Operating System: Windows
- PHP Version: 7.4.33
- Laravel Version: 8.75
- Laravel-DataTables Version: 9.21
Use the client-side excel button. Make sure you don't include the server-side button's script as it overrides the default excel button. Or rename the button to something else.