0 values are blanc in Excel #242
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing information
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pxlrbt/filament-excel#242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi
when the value of a cell is 0 it is shown as a blanc cell in the exported Excel file. How can I set this to show the 0?
Can you try converting it to a string?
that remains the same. Event this doesn't seem to do anything (column remains blanc for value 0 or 1 for value 1)
Column::make('payed')->formatStateUsing(fn ($state) => 'test'),In the table definition this is an IconColumn although
->formatStateUsing()is only applied after. You'd need to use->getStateUsing()that's the tric! Many thanks! You may want to update the documentation :)
I should fix the issue that 0 is treated as an empty value 😅
Not sure which part of the docs I should update? That specific edge-case is not mentioned. Otherwise
->formatStateUsing()should work.that's an option too :) Anyway many thanks for making this package! Made exporting tables a whole lote easier :)