F
Filament15mo 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
toeknee15mo ago
Can you get more of an example? markAsRead used to do that within the table?
awsqed
awsqed15mo ago
have you tried livewire lifecycle hooks, its basically a livewire component
Solution
Hemith
Hemith15mo ago
Yes. I was able to do with the livewire mount method. Thanks for the help!

Did you find this page helpful?