Forum Discussion

rameshp0233's avatar
rameshp0233
Data Storage
03-18-2022
Solved

Regarding manipulating a text in widget.

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

 

 

  • 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

1 Reply

Replies have been turned off for this discussion
  • ronenavidor's avatar
    ronenavidor
    Sisense Employee

    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