yajra / laravel-datatables-buttons

Laravel DataTables Buttons Plugin
https://yajrabox.com/docs/laravel-datatables/buttons-installation
MIT License
253 stars 53 forks source link

Make custom export button dropdown and export only current page #182

Open holdon1996 opened 10 months ago

holdon1996 commented 10 months ago

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

yajra commented 10 months ago

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.