10-27-2020 2:23 AM - edited 02-03-2024 7:02 PM
It's easily possible using the formattedText ui5 control
https://ui5.sap.com/#/entity/sap.m.FormattedText/sample/sap.m.sample.FormattedText
Regards,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. In view.xml file add CSS class property to your text:
<Text text="your text" class="textClass"/>
2. In style.css file add:
.textClass {
text-decoration: bold;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinothkumar,
its possible to use the addStyleClass property.
For example: https://jsfiddle.net/flovogt/nojf5wzy/
You have to use CSS class definitions which are more strict than the default one coming from UI5 itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.