Skip to main content
12-Amethyst
June 22, 2023
Solved

Bind HTML in Container

  • June 22, 2023
  • 2 replies
  • 1190 views

Hello, 

 

I have one service that return the html code, this html code generated based on condition of device properties. I want to display that HTML in Container, so how can I achieve this 

Best answer by jensc

Hello,

 

It sounds like what you want is to use the HTML TextArea widget.

It lets you show HTML in a container.

 

Regards,

Jens

2 replies

jensc17-PeridotAnswer
17-Peridot
June 22, 2023

Hello,

 

It sounds like what you want is to use the HTML TextArea widget.

It lets you show HTML in a container.

 

Regards,

Jens

14-Alexandrite
June 23, 2023

Hello,

 

there are several ways to display HTML elements.
If the data ends up in a grid, you can set the Column Renderer to "HTML" and Format to "with Formatting".

 

An alternative is the value display. (Help Center)

Here you can also set Renderer "HTML" and Format "with Formatting".

M4RC_0-1687507839274.png

 

Best regards

Marc