-
-
Notifications
You must be signed in to change notification settings - Fork 56
[3.0] Implemented the 'exclude column from export' #65
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
Conversation
...he columns you don't want to be exported
Can you please remove the .idea files that were added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this indention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this indention.
removed unwanted idea file
...datatables-buttons into excluded-columns
made the changes as requested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the excess new line to fix the failing StyleCI. Thanks!
src/Services/DataTable.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the excess new line.
src/Services/DataTable.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the excess new line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the excess new line.
Just wondering, since we only aim to exclude from export, I think we should not touch the print columns or better, create a separate handler for it? What do you think?
i think creating a separate handler for it would be nicer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little typo and I think this is good to go. Thanks!
src/Services/DataTable.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get filtered export columns definition from html builder.
Done
Released on v3.3.0, thanks!
Uh oh!
There was an error while loading. Please reload this page.
you can just add the columns you do not want to be exported using
protected $excludeFromExport = ['column_name'];in the model's Datatable