Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.

Home Page:https://livewire-powergrid.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export filtered items

caiochami opened this issue · comments

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?

No

PHP Version

8.2.18

PowerGrid

5.3.8

Laravel

10.48.10

Livewire

3.4.4

Alpine JS

No response

Theme

Tailwind 3.x

Describe the bug.

Filters are not being applied to the data being exported.

To Reproduce...

  1. Apply some filters to your table.
  2. Click the Export button and then
  3. Click over the "Filtered" option.

image

Extra information

No response

commented

Hi @caiochami,

I could not reproduce this issue in PowerGrid Demo.

CleanShot 2024-05-03 at 00 01 34@2x

Also, when filtering for a nonexistent item, the CSV is empty as expected.

CleanShot 2024-05-03 at 00 05 24@2x

@dansysanalyst I couldn't reproduce the issue in the Powergrid Demo either. I noticed this is a very specific scenario I got myself into. I managed to address the issue and I'm closing this ticket for now. Thanks for the help