Skip to Content
0
Former Member
Apr 13, 2016 at 06:50 AM

How to add superscript text to button

161 Views

Hi All, How to add the superscript text to a button Set . E.g var superText = "x"; Var text = "Name" + superText.sup() var chartElementBtn = new window.sap.m.Button({ type: window.sap.m.ButtonType.Transparent, }); chartElementBtn .setText(text); above code is not working. Can someone help me in resolving this. Thanks, Hemapriya