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

table style - alternating item

5 Answers 210 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marco Teodoro
Top achievements
Rank 1
Marco Teodoro asked on 01 Jun 2010, 04:19 PM
hello,

How can i define an alternating background color to telerik reporting table?

best regards
Marco Teodoro

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 03 Jun 2010, 08:48 AM
Hi Marco,

Please review the Display Reports with alternating style rows help article that elaborates on the matter.

Kind regards,
Peter
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Marco Teodoro
Top achievements
Rank 1
answered on 03 Jun 2010, 01:35 PM
Ok, this is exactly what i need but, how can i make this inside one nested table.

i have dto binded to one table and one list of dto inside the nested table, and what i need it to create an expression like the one you mentioned but inside the nested table.

how can i do that?

best regards

Marco Teodoro 
0
Peter
Telerik team
answered on 08 Jun 2010, 03:14 PM
Hello Marco Teodoro,

Thank you for the clarification.

The link I have provided in my last post is working as expected for a nested Table. 

Please check out the attached sample project and let us know how it goes. 

Best wishes,
Peter
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
moftol
Top achievements
Rank 1
answered on 20 Jan 2013, 08:39 AM
Hi,

i want to apply alternating row color on table item in telerik reporting, i read all the examples, but it is still not working.
I select the table item in the report and apply conditional formatting on it as discussed in the documentation but it is not working.
Quick and to the point response will be appreciated,

 thanks.
0
Richard Newson
Top achievements
Rank 2
answered on 28 Aug 2013, 05:10 AM
I had a similar problem - I think it could be the scope of the RowNumber().
When I did this inside my table the Grouping was causing RowNumber() to evaluate to 1 everytime. What I needed to do was include the Scope within the function call, being my Table  e.g. RowNumber("Table1") - this gave me the correct rownumber for the data and resolved my issue.
        =RowNumber("Table1")%2 = 1

Or if you have multiple groups then set the scope to the group you want to assess.
Tags
General Discussions
Asked by
Marco Teodoro
Top achievements
Rank 1
Answers by
Peter
Telerik team
Marco Teodoro
Top achievements
Rank 1
moftol
Top achievements
Rank 1
Richard Newson
Top achievements
Rank 2
Share this question
or