Refreshing resource on a custom action in a widget

I have a custom widget which contains an action button (opening a modal and doing some things). I want to refresh the resource (table) whenever the action modal is finished. How can I do that? Any help appreciated thank you
1 Reply
zenepay
zenepay3mo ago
I think you need to use this function $this->resetTable();