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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Toggle row color

Thread ID:

Created:

Updated:

Platform:

Replies:

132628 Sep 12,2017 11:56 PM UTC Sep 15,2017 03:45 AM UTC WPF 3
loading
Tags: ReportDesigner
Carlos Junior
Asked On September 12, 2017 11:56 PM UTC

Hi!
Attached is the CampaignCustomers.rdlc file that generates the report shown in the report_master_detail1.png image.
In the rdlc file I configured Tablix to change the colors of the lines:
= IIf (RowNumber (NOTHING) MOD 2, "", "LIGHTGRAY")

As shown in the picture, the rows in the table do not change the colors.
Can you change the attached rdlc file so that the generated report changes the colors of the table rows correctly?

Thank you very much!

Regards,
Junior

Attachment: Report_b697baea.rar

Vinoth Srinivasan [Syncfusion]
Replied On September 13, 2017 11:44 AM UTC

Hi Carlos, 

Thanks for your interest in Syncfusion Components. 

In your shared report the tablix placed inside the list is grouped by customer name. Each group has only one row available, hence the background expression used in row always returns the true part. We have removed the group on from the Tablix group properties and now background color applied for alternate row. Please find the modified RDLC report from the below location. 


Regards, 
Vinoth S. 


Carlos Junior
Replied On September 14, 2017 03:44 AM UTC

Ok Vinoth,

I was able to solve the problem.

Thank you very much!

Regards,
Junior


Vinoth Srinivasan [Syncfusion]
Replied On September 15, 2017 03:45 AM UTC

Hi Carlos, 

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

Regards, 
Vinoth S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;