F
Filament8mo ago
Hemith

Run a function after a table is loaded.

I want to run a function after the ListResource page is loaded like an SQL query that markAsRead. Are there any lifecyclehooks I can use for table builder?
Solution:
Yes. I was able to do with the livewire mount method. Thanks for the help!
Jump to solution
3 Replies
toeknee
toeknee8mo ago
Can you get more of an example? markAsRead used to do that within the table?
awsqed
awsqed8mo ago
have you tried livewire lifecycle hooks, its basically a livewire component
Solution
Hemith
Hemith8mo ago
Yes. I was able to do with the livewire mount method. Thanks for the help!