on 09-09-2022 4:16 PM
it seems that setStyle can work properly as setCssClass.
Example:
var mycolor = "#000";
var mybackgroundcolor = "#e3f542";
argTextBox.setStyle({backgroundColor: mybackgroundcolor, color: mycolor});
Try it!
Kr, Armando Santos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ablasl88
Yes, you're right - this isn't possible. The problem is that you need to define the styles in the CSS style of the canvas, and at that time you will not know which row needs to be highlighted
The only option using CSS is to define multiple styles, each highlighting a different row and then setting this based on the number - but that isn't a practical solution
Marc
Just fyi - this should be able to achieve via story. At least somewhat comparable using threshold function.
Thanks,
Vijayeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ablasl88
Should be possible, see this blog: https://blogs.sap.com/2021/01/08/how-to-use-css-capabilities-to-design-the-look-and-feel-of-analytic...
Not sure if your widget supports the 'pseudo'
Marc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.