© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Jesse Hendriks

Using $record in ListRecords and page table data in widget

I want to use a parameter in a
ListRecords
ListRecords
page. This is working fine, except when I want to add interactive widgets.

I'm using the
ExposesTableToWidgets
ExposesTableToWidgets
trait to expose table data, and in the widget I'm using the
InteractsWithPageTable
InteractsWithPageTable
and I have added the protected function
getTablePage()
getTablePage()
as described in the documentation (https://filamentphp.com/docs/3.x/panels/resources/widgets#accessing-page-table-data-in-the-widget)

When I'm using the widget $record is not set anymore. (it is loading twice, first time its good, second time is without the property).

Is it possible to use ListRecords and have interactive Widgets based on the table data?
Widgets - Panel Builder - Filament
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

record data in widget
FilamentFFilament / ❓┊help
3y ago
Accessing page table data in the widget
FilamentFFilament / ❓┊help
2y ago
Table data in widget
FilamentFFilament / ❓┊help
2y ago
Table in show record page
FilamentFFilament / ❓┊help
3y ago