I have a scenario like i need to display few special characters inside grid interface to be selected by user.
some of the special characters are superscripts and subscripts.
subscripts are like H2O ,α2,N2
superscripts are like 25,23
Is there any way that we can achieve this functionality in appian.
superscripts and subscripts can be achieved directly from MS word doc but if i do copy paste the same into appian interface the value is behaving as normal.
for example, the value 102 in word doc after superscripting gives 102 (based on selection 2) where as in appian SAIL it is behaving as normal number as 102.
Please let me know any suggestions.
I believe Aditya Gupta's advice above is OK to try - but I recommend, for further precise control, you call the unicode characters directly with Appian's "char()" function. I would consider creating an expression rule where you pass in the number you want superscripted / subscripted and it passes out the unicode character. This will help ensure that the different characters you use are, for example, the correct character and all from a consistent character set (i notice that the list of Superscript characters listed above seem to be from at least 2 different sets).
This page has a list of all the subscript and superscript numbers in unicode. To get the character code for each one you need to click into it and look for the html / decimal codes. For example, the character code for superscript 4 is 8308.
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.