Jump to content

Changes made using the Development tool are lost after saving and re-opening the document.


K Rojas

Recommended Posts

Hello,

 

I am using Spotfire's Development tools to access and change the HTML/CSS of text areas to style property controls. The changes I make are lost afte saving and re-opening the document. Any idea how I can change that behavior Thank you.

Link to comment
Share on other sites

The developer tool works the same as the developer tool in Chrome/Firefox/IE. Changes made are only seen for helping developers test, none of changes are implimented in the source code permantly.

If you'd like to update sections of HTML code you would need to insert a Text Area and add JS to make those changes.

Here is an example :

http://spotfireplanet.com/style-cross-table-and-data-table-with-javascript/

https://datashoptalk.com/javascript-spotfire-basics/

What type of changes are you hoping to make

Link to comment
Share on other sites

To change CSS styling on Property control you'll want to wrap your property controls in a with an id then add JS to append CSS styling :

You can do some inline styling in the div itself :

 

and also add JS :

$("body").append("

#selt4 {float: right;margin: 0 0px 10px 0;width: 48%;}

#selt4 * { line-height: 100px;}

")

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...