Skip to content

feat: Support exportRender option #71

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

Merged
merged 1 commit into from
Feb 19, 2025
Merged

feat: Support exportRender option #71

merged 1 commit into from
Feb 19, 2025

Conversation

Seb33300
Copy link
Contributor

@Seb33300 Seb33300 commented Feb 17, 2025

Closes #70

Support the exportRender option so we can for example use it like this:

->exportRender(fn ($value) => trim($value))

@yajra yajra self-requested a review February 19, 2025 01:25
@Seb33300
Copy link
Contributor Author

PHPStan fails because exportRender is missing here:
https://github.com/yajra/laravel-datatables-html/blob/f9936fe040ee74661569e3717a538bd405228919/src/Html/Column.php#L30

I will create another PR for this.

@yajra
Copy link
Owner

yajra commented Feb 19, 2025

PHPStan fails because exportRender is missing here: https://github.com/yajra/laravel-datatables-html/blob/f9936fe040ee74661569e3717a538bd405228919/src/Html/Column.php#L30

I will create another PR for this.

Yes, this is correct. Thanks for checking and PR in advance.

Copy link

@yajra yajra merged commit 3920ce0 into yajra:master Feb 19, 2025
7 checks passed
@yajra
Copy link
Owner

yajra commented Feb 19, 2025

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

Successfully merging this pull request may close these issues.

exportFormat not working with callable
2 participants