on 02-22-2019 7:02 AM
Hi Experts,
I have to achieve something as shown below.
I know I Can colour 'Alex Jones' as blue by breaking the text and combining it in HBox. i.e,
<HBox>
<Text text="Created by"/>
<Text text="{AlexJonesComesHere}" class="cssforBluecolor"/>
<Text text="at Monday ..."/>
</HBox>
But, is there a way I can achieve the same without breaking the text. I mean I would like to keep the text as below and still achieve the colouring
<Text text=""Created by {AlexJonesComesHere} at Monday 12:33PM IST" class="somecssClass"/>
Thanks in advance
Hi Sudarshan,
yes, this is possible 🙂 . You could either write a custom control or use the sap.m.FormattedText control.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
9 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.