LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

html table color

I have a table indicator with various color output by a sub-VI, I want the same table with the color output to an HTML report. I append the table to the report, but it doesn't have the color with it, just the contents. The only way that I can think of to do this is to use append image. But I want to append the table, not the image. Is there anyway to append the table with color on the html file? Thank you.
0 Kudos
Message 1 of 3
(2,722 Views)
Hi,
another way is to go deep inside the "Append text/numeric table to report.vi". Try to find the place where the table HTML TAGs specify its style or style of cells. Then add there your code to change the color. I understan that it's not easy, but it helps.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 3
(2,722 Views)
Hi.

Oleg's answer is correct. There is a way to do it, but it will not be straight forward and the modification is not supported by NI. Color can be added to text using html coding. I would suggest using google to find the proper syntax for coloring table cells.
-Erik
0 Kudos
Message 3 of 3
(2,722 Views)