Table columns footer not being calculated using getTableContentFooter()

Hello, I'm using this trick https://filamentphp.com/tricks/custom-table-footer-displays-above-content to display and calculate the total of column in footer. I can also see that its not getting the total from the content itself, im deducting the total on TextColumn using formatStateUsing(). my total should be 392.27 but it shows 397.00 which means the deductions I did didn't pass through. has someone already encountered this? TIA..
Filament
Custom table footer displays above content by joaquin - Tricks - Fi...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
1 Reply
Chrysippus
ChrysippusOP2y ago
I think its basing the calculation from the original value and not the content itself, which is Idk how to change. my goals are to get the right value and also include in on the export.
Want results from more Discord servers?
Add your server