How to do auto refresh of table at fixed interval? #1484
-
Hello, I have created powergrid table, but I need to refresh that table at certain interval say 5 min, without any user interaction, How to do that? |
Beta Was this translation helpful? Give feedback.
Answered by
marineusde
Apr 5, 2024
Replies: 1 comment 7 replies
-
The powergrid tables got event listeners for refresh: Include your table in a livewire component with this method:
then add a div with wire:
Documentation: PG-Event-Listeners: https://livewire-powergrid.com/table/component-settings.html#event-listeners |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I found the problem: you have to use the value of the attribute $tableName of your table-component-class in the dispatch:
you can set it up in your TableComponent: