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

Alternate colors to the table in the report

9 Answers 1271 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sony Telkar
Top achievements
Rank 1
Sony Telkar asked on 22 Jul 2009, 11:29 AM
Hi,

I have a table control on my report. I want to have alternative rows applied two different colors.
I dont find any properties or style for this.
Please help

Thanks
Sony

9 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Jul 2009, 03:32 PM
Hello Sony,

The approach from this KB article:Displaying data with alternating-style rows is completely valid for the table item as well. However you need to set the conditional formatting rule to all textbox items in the table cells and not to a row group or table row.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Sony Telkar
Top achievements
Rank 1
answered on 23 Jul 2009, 11:16 AM
Worked for me.

Many thanks
Sony
0
SIlvia
Top achievements
Rank 1
answered on 09 Oct 2009, 09:28 AM
the article is not available, why???
0
Steve
Telerik team
answered on 09 Oct 2009, 10:18 AM
Hello SIlvia,

We’ve made reorganization of the reporting KB section and that is why the URL has changed. Our advise is to go to KB main page (http://www.telerik.com/support/kb/reporting.aspx) where you would see ALL KB articles by default. From the right hand side pane, you can navigate to a specific category and locate whichever KB article you’re looking for.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Fatima Mohey
Top achievements
Rank 1
answered on 11 Oct 2009, 09:16 AM
yes, i was searching for it too :)
here its new link , http://www.telerik.com/support/kb/reporting/customization-tip/displaying-data-with-alternating-style-rows.aspx
0
Karlkim Suwanmongkol
Top achievements
Rank 1
answered on 02 Nov 2009, 08:17 PM
0
moftol
Top achievements
Rank 1
answered on 20 Jan 2013, 10:06 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,
0
José Miguel Herrera G
Top achievements
Rank 1
answered on 07 Nov 2019, 02:38 AM

After searching and searching because RowNumber() is returning always 1, I managed it by adding the next ConditionalFormatting rule:

 

"= RunningValue("table1",Sum(1)) Mod 2"  "<>"  "0"

 

as shown in the attached screenshot.

 

Finally select a different style for that rule.

 

I hope it this will help you :)

0
Peter
Telerik team
answered on 11 Nov 2019, 03:55 PM

Hi Jose,

I am not sure why the RowNumber function is not working on the used table setup, the most probable reason is the change of the data scope due to the used table groups. For for more information on the RowNumber functionality see:  Data Functions help article.

Regards,
Peter
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
Sony Telkar
Top achievements
Rank 1
Answers by
Steve
Telerik team
Sony Telkar
Top achievements
Rank 1
SIlvia
Top achievements
Rank 1
Fatima Mohey
Top achievements
Rank 1
Karlkim Suwanmongkol
Top achievements
Rank 1
moftol
Top achievements
Rank 1
José Miguel Herrera G
Top achievements
Rank 1
Peter
Telerik team
Share this question
or