Refresh all components of Pentaho CDE dashboard

给你一囗甜甜゛ 提交于 2019-12-02 12:43:39

问题


I want to be able to refresh entire Pentaho CDE dashboard including all components using a button.

Currently I use this code window.location.reload(), which refreshes whole HTML page. But it reloads all resources, which makes it slow.

Is there a way of how to refresh all components of Pentaho CDE dashboard?


回答1:


Use and call this function:

function updateAllDashboardComponents() {
    Dashboards.updateAll(Dashboards.components);
} 


来源:https://stackoverflow.com/questions/36356390/refresh-all-components-of-pentaho-cde-dashboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!