问题
- I have a page with to many reports
- When I change an Item I want to refresh all the reports on the page
- I have one dynamic action (on item change) that as a lot of refresh (true) actions to refresh all the reports.
I want to know if theres a way/comand/DynamicAction/Code that refreshes all the reports in the page with a single DynamicAction?
Thanks in advance
回答1:
Create a single JavaScript action the executes the following
$('.refreshme').trigger('apexrefresh');
And apply the refreshme
class to all the regions you'd like to refresh
回答2:
How about removing dynamic action and submitting the page once the item is changed? Submit will force all reports to refresh.
来源:https://stackoverflow.com/questions/58116046/dynamic-action-refresh-all-reports-in-a-page