Skip to Content
0
Former Member
Mar 30, 2016 at 12:36 PM

Use of raw HTML in controls

364 Views

Hi,

is it possible to set raw HTML for a control? We want to display dynamic content which can contain e.g. HTML links.

In this examples the result should be a bold label, but the control is encoding the content (JSBin).

Example 1

 var label1= view.byId("label1");
    label1.setText("<b>test</b>");

Example 2

<Label id="label2" text="&lt;b&gt;test&lt;/b&gt;" />     

Thanks