We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Toggle row color in Tablix

Hi

Attached, there is an image with two grids. The first grid (a Tablix) is the screenshot of my report.
I would like to toggle the color of the rows of the first grid as in the second grid.
How do I
accomplish this in ReportDesigner?

Regards,
Junior

Attachment: reportGrids_83ce852.rar

3 Replies

VS Vinoth Srinivasan Syncfusion Team August 24, 2017 12:46 PM UTC

Hi Carlos, 
 
Thanks for your interest in Syncfusion Components. 
 
You can set background color to alternate rows using “RowNumber” expression. You can select the required row and select background color in property grid then set the below expression for background color. 
 
=IIf(RowNumber(NOTHING) MOD 2, "","LIGHTGRAY") 
 
Also, we have prepared a sample report based on this and it can be downloaded from the below location. 
 
 
You can obtain the ReportDesigner component exe file in below build installed location,  
C:\Program Files (x86)\Syncfusion\Essential Studio\ version\Utilities\Report Designer 
 
 
Regards, 
Vinoth S. 



CJ Carlos Junior August 24, 2017 03:13 PM UTC

Hi Vinoth,
I was able to change colors with your solution.

Thank you very much!

Regards,
Junior



VS Vinoth Srinivasan Syncfusion Team August 25, 2017 04:55 AM UTC

Hi Carlos, 

Thanks for your update. Please let us know if you require any further assistance on this. 

Regards, 
Vinoth S. 


Loader.
Live Chat Icon For mobile
Up arrow icon