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

Question: Is it possible to customize the export content of columns? #3200

Open
OzanKurt opened this issue Nov 23, 2024 · 0 comments
Open

Question: Is it possible to customize the export content of columns? #3200

OzanKurt opened this issue Nov 23, 2024 · 0 comments

Comments

@OzanKurt
Copy link
Contributor

I want to have something like editColumnForExport, is this currently possible?

$builder->editColumn('name', function (User $user) {
    return '<a href="#">'.$user->name.'</a>';
});
$builder->editColumnForExport('name', function (User $user) {
    return $user->name;
});
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

1 participant