mctpursuer Posted May 19, 2009 Share Posted May 19, 2009 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 More sharing options...
teodord Posted May 19, 2009 Share Posted May 19, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now