Export to xlsx data failed
I am trying to export a report after filter but its fetching one row report and as i investigate it only fetches the row which has valid numbers only and ignores columns containing 0.So what to do to resolve.Is this happening due to query or what ..Why its ignoring all fields.The issue i am thinking that after export it may not receiving the queried result but it should take the frontend data to export.
https://gist.github.com/sangramk77/7c41dd40e32463b47449eece592ee3f9
Gist
Export functionality failed in Filament
Export functionality failed in Filament. GitHub Gist: instantly share code, notes, and snippets.
5 Replies
@Dennis Koch Any idea on it. I m sorry for the tag. I feel you may have some idea why its happening
Not really sorry
Its ok.Lets see if anyone has any idea. Why its happening. The point is it shows the result in table but ignores the rows on export.
Try to debug both SQL queries of both and compare them.
Will try. I feel there is issue with query. But yes i m not passing any query in export or doing any db operation on export.It should take the rows from client side i mean browser rendered but even the exported xlsx data also wrong. I cant figure out from no where it is getting the value on export
If you see both images Total number is 4 on first image to which i marked but on export i mean in excel its 1