Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
holdon1996 opened this issue Nov 11, 2023 · 1 comment
Open

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

holdon1996 opened this issue Nov 11, 2023 · 1 comment
Labels

Comments

@holdon1996
Copy link

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
@yajra
Copy link
Owner

yajra commented Nov 14, 2023

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.

@yajra yajra added the question label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants