簡體   English   中英

Pentaho CDE彈出窗口未顯示表格

[英]Pentaho cde popup not showing table

我有一個帶有彈出組件的Pentaho cde儀表板,用於顯示表格。 如果在生成儀表板時加載表,則此彈出窗口可以正常工作。 但是,我想根據在主儀表板頁面上單擊哪個圖形來更改調用的查詢。 該表包含使用cda查詢從數據庫檢索的詳細記錄。

當我在調用彈出窗口時更改包含dataAccessId的參數時,它不起作用。 彈出窗口無法顯示。

任何人有任何想法如何解決這個問題?

這有效:

function f(e){
    render_Popup_Details.popup($(e.target));
} 

這不起作用:

function f(e){
    Dashboards.fireChange('flag_popup', 'flag_10');
    render_Popup_Details.popup($(e.target));
} 

在激活彈出窗口之前,您是否嘗試過更新表?

function f(e){
    Dashboards.fireChange('flag_popup', 'flag_10');

    Dashboards.update([render_your_table_component_name]);

    render_Popup_Details.popup($(e.target));
}

如果您使用的是RequireJS,則:

function f(e){
    this.dashboard.setParameter('flag_popup', 'flag_10');

    this.dashboard.getComponent('render_your_table_component_name').update();

    this.dashboard.getComponent('render_Popup_Details').popup($(e.target));
} 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM