刷新Pentaho CDE仪表板的所有组件 [英] Refresh all components of Pentaho CDE dashboard

查看:82
本文介绍了刷新Pentaho CDE仪表板的所有组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够使用按钮刷新整个Pentaho CDE dashboard,包括所有组件.

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

当前,我使用此代码window.location.reload(),该代码刷新整个HTML页面.但是它会重新加载所有资源,这使其速度变慢.

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

有没有一种方法可以刷新Pentaho CDE仪表板的所有组件?

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

推荐答案

使用并调用此函数:

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

这篇关于刷新Pentaho CDE仪表板的所有组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆