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

Changing BackgroundColor and other propteries of a row dynamically

1 Answer 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 14 Feb 2019, 12:45 PM

Hello there,

I'm new with Telerik Reporting and I have a Problem, where I didn't find a solution in the documentation.

Assume we have the same scenario as in the Quickstart-Example "How To: Use the Report Wizard to create a Band Report". With one difference: My DataSource has a further Field named "RowColor". I want a Report where each Row has the Color specified in this field.

How can I achieve that?

 

Best Regards

                        Frank Kruse

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 15 Feb 2019, 09:30 AM
Hi Frank,

What you need to do is to mark the row and to add Binding from the menu with properties as follows: 
  • PropertyPath: Set.Background.Color
  • Expression: =Fields.Color

You can also check the attached report which demonstrates the approach.


Regards,
Neli
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Frank
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or