cancel
Showing results for 
Search instead for 
Did you mean: 

attachRenderComplete in vizframe not triggering the function.

0 Kudos

Code : oVizFrameChart = new VizFrame({ vizType: 'dual_bar' visible: true, uiConfig: { applicationSet: 'fiori' } }); oVizFrameChart.attachRenderComplete("/products","onCompleted","Olistner");

onCompleted: function (){

MessageToast.show("onComplete");

}

junwu
Active Contributor
0 Kudos

the second parameter should be function, you provide a string, how you expect that to be working?

Accepted Solutions (1)

Accepted Solutions (1)

former_member196805
Contributor
0 Kudos

it should be something like

oVizFrame.attachRenderComplete(function(e){
    alert("VizFrame rendering is done")
});
0 Kudos

I tried removing the quotes but onCompleted not defined is the error , but i have defined the function before calling the above mentioned code.Thanks for your time. 🙂

Answers (1)

Answers (1)

junwu
Active Contributor

at least you should try like this this.onCompleted, not just the name of the function