Jump to content
We've recently updated our Privacy Statement, available here ×

How to apply multiple styles to one field?


mctpursuer

Recommended Posts

Hi,

I need to apply two conditional styles to one field, one conditional style is to check whether the field is on even row, if it's on even row then give it's a background color. The other conditional style is based on the business logic, if the value of the field is 1, then I need to make the font color of this field to red.

I am wondering is there any easy way to apply these two conditional styles to the same field?

Thanks for any help!

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

A style definition can have multiple conditions, each one overriding some of the properties. In you style you could have a condition that alters the background color and some other condition to alter the forecolor.

Conditions apply in the order in which they are declared.

Have you tried that?

 

I hope this helps.
Teodor

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...