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

Export to PDF or CSV buttons #15

Closed
pushpak1300 opened this issue May 24, 2020 · 8 comments
Closed

Export to PDF or CSV buttons #15

pushpak1300 opened this issue May 24, 2020 · 8 comments

Comments

@pushpak1300
Copy link

It will be great if there is button for export to pdf and csv like datatables.

kdion4891/laravel-livewire-tables#23
I have created issue there but i think it is not activly maintained.

@pushpak1300
Copy link
Author

@rappasoft

@rappasoft
Copy link
Owner

Definitely a good idea, but I have a lot of important stuff to do before any features like that. Like to write tests to make sure it's stable.

@pushpak1300
Copy link
Author

Okay, No Problem @rappasoft .I have implemented that feature in my local envoirment. so once your package is ready for production use.Please let me know .I can contribute to this feature.

@rappasoft
Copy link
Owner

It works well? It would definitely be easier if it was a PR vs me having to figure it out now.

@pushpak1300
Copy link
Author

Yes,it works fine.
But problem is how we want to export data i.e on client side or server side using Larvel Excel Package .
Which one you would prefer?
I have working Example of Client-Side using table2csv library.

@rappasoft
Copy link
Owner

It depends. If you have pagination enabled and you're looking at 10 out of 100 rows, client side could only export those 10 rows you're looking at while server side can export any amount.

Though i'm assuming you'd only want the ones you're looking at because you've narrowed down your search, but if you wanted an export all button you'd need Laravel Excel.

I think jquery datatables does it client side.

@pushpak1300
Copy link
Author

Yes Datatables does it in client side.

@pushpak1300
Copy link
Author

Okay ,I will make PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants