#Recommendation on strategy
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Hi all, I have a Page with a table and a widget on the Page in the header. I want to do some calculations with the currently selected rows of the table but am unsure what the best way to connect the widget to the table could be. Any suggestions?
Look up
$get $set and ->afterStateUpdated from the docs
You can access $selectedTableRecords on the ListPage, but they are not live so I guess you need to add a button which then dispatches an event to your widget component and updates the data.