Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
how to use superscript and subscript?
stf
Hi all!<br />
I use scripted data set.<br />
In the fetch method, a row was assigned the value as:<br />
row["aa"]="1"+"th".sup()+" Adult";<br />
or<br />
row["aa"]="1"+"<sup class='bbc'>th</sup> Adult";<br />
<br />
That is: I want to use "th" as a superscript. But the html format output is :<br />
<br />
1<sup class='bbc'>th</sup> Adult<br />
<br />
How can i get the result i want? Thank you in advance!
Find more posts tagged with
Comments
JustME
Try adding a text item like the following to your report layout:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'><VALUE-OF>row["Color"]</VALUE-OF>[sup]th[/sup] Adult</pre>
<br />
1. Add the text item.<br />
2. Double click it.<br />
3. Select HTML from the dropdown box.<br />
4. Select Dynamic Text from dropdown box.<br />
5. Select Value-Of button, then navigate to your data<br />
6. Select Formatting from dropdown box.<br />
7. Continue with formatting as desired.
stf
<blockquote class='ipsBlockquote' data-author="JustME"><p>Try adding a text item like the following to your report layout:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'><VALUE-OF>row["Color"]</VALUE-OF>[sup]th[/sup] Adult</pre>
<br />
1. Add the text item.<br />
2. Double click it.<br />
3. Select HTML from the dropdown box.<br />
4. Select Dynamic Text from dropdown box.<br />
5. Select Value-Of button, then navigate to your data<br />
6. Select Formatting from dropdown box.<br />
7. Continue with formatting as desired.</p></blockquote>
<br />
JustME:<br />
<br />
Thank you very much for your answer! It works!