Jump to content

Drop Down Control Rendering with Custom JS


Tyger Guzman 2

Recommended Posts

Add the following JS to a change event occuring in the text are

 

$("*").find('.HtmlTextArea').each(function() {

Spotfire.HtmlTextArea.update(this.id)

console.log(this.id)

});This will udpate the HTMLText area's on the page so that they render correctly.

 

I'm using tabs so did the following :

$("#tab1").click(function () {

$("*").find('.HtmlTextArea').each(function() {

Spotfire.HtmlTextArea.update(this.id)

console.log(this.id)

});

 

});

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...