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

withAvg breaks Exporting data #1540

Closed
dansysanalyst opened this issue May 11, 2024 · 1 comment
Closed

withAvg breaks Exporting data #1540

dansysanalyst opened this issue May 11, 2024 · 1 comment

Comments

@dansysanalyst
Copy link
Member

Have you searched through other issues to see if your problem is already reported or has been fixed?

Yes, I did not find it.

Did you read the documentation?

Yes, I did not find it.

Have you tried to publish the views?

Yes - I didn't work.

Is there an error in the console?

It appears that adding withAvg() to a column breaks exporting data, even if not visible in Export.

            Column::add()
                ->title('Calories')
                ->field('calories')
                ->visibleInExport(visible: false)
                ->withAvg('Average', header: true, footer: false)
                ->sortable(),

CleanShot 2024-05-11 at 12 11 38@2x

PHP Version

No response

PowerGrid

No response

Laravel

No response

Livewire

No response

Alpine JS

No response

Theme

Tailwind 3.x

Describe the bug.

No response

To Reproduce...

First click on "FOO" then....

Extra information

No response

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

No branches or pull requests

2 participants