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

Table Row Background Color

1 Answer 457 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 04 Mar 2014, 12:31 PM
Hi,
i have a table on my report. The Table is dynamic.
Now i would change the backgroundColor of a specified row.

How can i do something like this?
table.Bindings.Add( new Telerik.Reporting.Binding("Style.Background.Color"),"=IIF(Fields.1 == 'Summe', 'Red','Green')");

Thnaks for your answer....

1 Answer, 1 is accepted

Sort by
0
Thomas
Top achievements
Rank 1
answered on 05 Mar 2014, 08:11 AM
I found the problem.
I have to bind to TextBox, not to Table....
textBoxTable.Bindings.Add(new Telerik.Reporting.Binding("Style.BackgroundColor", "=IIF(Fields.1 = \"Summe\", \"#6293BB\",\"Transparent\")"));
Tags
General Discussions
Asked by
Thomas
Top achievements
Rank 1
Answers by
Thomas
Top achievements
Rank 1
Share this question
or