This is a migrated thread and some comments may be shown as answers.

conditional formatting rule

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 15 Dec 2011, 06:03 PM
Hi,

I have a Style called "Data" with background color white.
I create a conditional formatting rule and only set the ForeColor to red for example.
Now, I change the style "Data", the background color for example to Ivory.
Now, when the rule applies, I see the background color of white, that should be Ivory. 

So, apparently the rule creates a copy of the style when creating the rule, and applies a background color that I do not think is part of the rule. I know other applications that do this differently.

I see two options I think are logical:
1) in the style rule, allow a base style to be inputed (data in my example) 
2) When a rule applies, let me say what style to use. So, I have style "data", l create style "DataRule1" and say in my rule that when condition is met, style "DataRule1" must be applied.

Regards,

Erik

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 19 Dec 2011, 11:24 AM
Hello Erik,

We have not been able to reproduce such a problem on our end and would appreciate if you elaborate:
  • what style rule do you create?
  • to what item have you applied this style?
  • is the conditional formatting applied to the same item?

It would be of great help if you provide us with instructions or a sample report that shows the behavior you think is wrong. We also highly recommend reviewing the Style Inheritance and Overriding help article for more info on style priorities and inheritance.

Kind regards,
Steve
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Erik
Top achievements
Rank 2
Answers by
Steve
Telerik team
Share this question
or