Changing BackgroundColor and other propteries of a row dynamically

2 posts, 0 answers
  1. Frank
    Frank avatar
    1 posts
    Member since:
    Aug 2018

    Posted 14 Feb Link to this post

    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

  2. Neli
    Admin
    Neli avatar
    80 posts

    Posted 15 Feb Link to this post

    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
Back to Top