Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2800

Re: SAP Design Studio Conditional Formatting using Data Binding

$
0
0

Hi Premdas,

 

I can understand your scenario.

 

You should verify the data cell as undefined before applying conditional formatting. Also, Use get data from data source in this case instead of getText from Text component. It should help you.

 

Your script should be like,

 

var target = DS.getdata ( <your data selection goes here .. > ) .value;

if( target == ' ' || target === undefined ) {

css = 'contentNeutral' ;

}

 

I hope this helps.

 

Thanks,

Ganesh

Visual BI


Viewing all articles
Browse latest Browse all 2800

Trending Articles



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