cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding manipulating a text in widget.

rameshp0233
7 - Data Storage
7 - Data Storage

We have a scenario that we had a label plugin where it declare all the label item whatever we give in panel .The output displayed is in label form ,So our scenario is to change the label content irrespective of output we got , anything related to our use case will be appreciated . Thank you

 

rameshp0233_0-1647597120827.pngrameshp0233_1-1647597180634.png

 

1 ACCEPTED SOLUTION

ronenavidor
Sisense Team Member
Sisense Team Member

Hi,

You can use a standard Text widget, and add the following code:

widget.on("ready",function(se,ev){

document.getElementById("editor-3").innerHTML = "whatever";


})

Best,

Ronen

View solution in original post

1 REPLY 1

ronenavidor
Sisense Team Member
Sisense Team Member

Hi,

You can use a standard Text widget, and add the following code:

widget.on("ready",function(se,ev){

document.getElementById("editor-3").innerHTML = "whatever";


})

Best,

Ronen