cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
Export to HTML with Pass/Fail Coloring

This script exports the data table to HTML setting the cell's background color based on a threshold value (2000). Green > 2000; Red <=2000.

Only cells in columns 3 and above are colored, but this number is commented in the script so it can easily be adjusted. The colors and threshold values are also marked with comments so they can be changed.

The output is sent to the log. To create an HTML file, copy the log output into a new HTML file. Open the file in a web browser.

This script is based on Export Data Table to HTML which was inspired by Export Data Table to MediaWiki format. I hope that it will at least partially answer how to save data table(colored cells) to html?.

Comments
robust1972


thanks John!

ENTHU

Is it possible to save a data table as .html or .png?

 

Thanks in Advance!

Stefan

Nice one, but could just not get it to work. Would you be able to put in an example?

 

Thank you