Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Changing the Background color in text box using Custom CSS.(With some condition "If-else")

$
0
0

Hi community,

If You want to use condition formatting in Text Box or wanna change the background/font-color based on different selection then i think it may help you.

 

Here i put a dimension filter and a text box.

based on dimension filter selection i want to change the background color of the text box.

 

1st.JPG 

 

 

2nd.JPG

 

3ed.JPG

 

 

 

4th.JPG

 

 

 

 

5th.JPG

 

 

 

 

for achieving that things i used a Custom CSS file.....

 

 

CSS.JPG

saved that file in my root folder.

 

then i write some script in dimension filter event "On Apply"........

 

Script editor.JPG

 

so using that script that thing work.

 

 

Thanks,

Anshul


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>