Table data in widget
Hi!
I tried to reproduce "Accessing page table data in the widget" but in a livewire component, not in a filament page component (So https://filamentphp.com/docs/3.x/panels/resources/widgets#accessing-page-table-data-in-the-widget is not working for me).
My idea is to :
- listen an event when table component is updated (using filters)
- get the "current" query builder of this table
An idea to do this ?
2 Replies
Filament pages are Livewire components.
What’s not working?
I don’t know how to detect when table is updated (by filters for exemple), and how to get the executed query