cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to add inline css for the HTML code in a thingworx service

MR_10404102
6-Contributor

How to add inline css for the HTML code in a thingworx service

Hello,

Can anyoe help me on how to add border and other css elements for the HTML table in the below service in thingworx

MR_10404102_0-1690286540194.png

Thanks in advance!

 

 

3 REPLIES 3

You can proabably define the CSS class in the Mashup, and then use teh class in your HTML output, that  should wor.

I am binding the output of the service to a html text widget 

Hi @MR_10404102,

Is the question specific to how to add table borders in HTML?

As far as I can see, the question is related only to HTML, and you'll find better luck finding the answer to that in websites like stackoverflow.

We are definitely open to help on this forum to anything ThingWorx specific, but from what I can see, there's nothing specific to ThingWorx outside the fact you're wrapping that HTML code in a service and then displaying it in the HTML text widget.

 

Separately, may I ask why you're not using the Grid in ThingWorx to render that data ?

Announcements

Top Tags