F
Filament3mo ago
NozmaD

How to create a table from a file

How to do something like this: There is a file that I am loading, it is supposed to be temporary, I am guessing that I need to use sushi. The scheme is as follows: I go to the resource, where the file upload form is immediately shown, I upload the xlsx file, after which it is processed and displays the information in the form of a table. There is no need to save it all, process it once, display information and that's it
2 Replies
awcodes
awcodes3mo ago
Just assign the data to a variable for the table then delete the file. If it’s in the livewire-tmp directory then it’ll get deleted every 24 hours anyway.
NozmaD
NozmaD3mo ago
and how can you do something that first appears instead of a table, a field for uploading a file? and after loading, the page is updated and there is a table?