on 2025 Mar 26 12:27 PM
Hello SAP Community,
I have created a button that is currently in white color. This button serves as a filter, activating the filter when clicked.
My query is: If I click on the button, the button should be coloured, and it should remain coloured till another button is clicked. How can we achieve this in SAP SAC Optimized story?
Request clarification before answering.
You could achieve it through CSS.
Step 1
Create 2 CSS:
write your background color
Step 2
for Running button onClick event script:
this.setCssClass("button_status_color2");
for Closed button:
Running_Button.setCssClass("button_status_color");
Best regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.