Conditional formatting

Stimulsoft Reports.Silverlight discussion
Locked
mriggall
Posts: 57
Joined: Mon May 07, 2012 7:41 pm
Location: Melbourne

Conditional formatting

Post by mriggall »

Hi there

I have set up conditional formatting in my silverlight report designer. It is bound to one of my business objects, but it appears that the condition is always evaluating to zero. Is there some process to link the business objects in the report prior to evaluating the conditions?

I have tried setting the report render process to "double pass" but this didn't seem to help.

thanks

Matt
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Conditional formatting

Post by HighAley »

Hello, Matt.

Could you describe your issue more detailed?
What expression did you use in the Conditions?

Thank you.
mriggall
Posts: 57
Joined: Mon May 07, 2012 7:41 pm
Location: Melbourne

Re: Conditional formatting

Post by mriggall »

Hi Aleksey

I used the icon set conditional formatting bound to a "double type" data column. No matter what I changed, the icon always showed that the column value was zero even though the actual value for the data column was being correctly displayed in the report.

Thanks

Matt
mriggall
Posts: 57
Joined: Mon May 07, 2012 7:41 pm
Location: Melbourne

Re: Conditional formatting

Post by mriggall »

Conditional Formatting.PNG
Conditional Formatting.PNG (90.92 KiB) Viewed 4031 times
This is the setting up of the conditional formatting in the report designer...

... and here is what is being displayed in the report. As you can see it is showing the red cross icon, which should only be displayed when the value is less than 1.
Report With Formatting.PNG
Report With Formatting.PNG (19.57 KiB) Viewed 4031 times
It looks like the conditional formatting is always evaluating the value to be zero on the data column even though it is correctly showing the data column value on the report.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Conditional formatting

Post by HighAley »

Hello.

Which version do you use?
It seems that there is a error with converting of value.
What data source do you use?
Please, send us a report template with sample data which reproduces the issue.

Thank you.
mriggall
Posts: 57
Joined: Mon May 07, 2012 7:41 pm
Location: Melbourne

Re: Conditional formatting

Post by mriggall »

Hi Aleksey

1) We're using 2013.2 version of Stimulsoft.
2) The data source is a custom business object that we have generated into the report. We are re-hosting the SL report designer in our SL application, and our application is generating the business objects into the SL report designer.
3) I have attached a copy of a report (.mdc) file generated using the template. You will find the conditional formatting on the page called "FinancialAnalysisPage" under a section called "Balance Sheet Analysis".
4) I have also attached a screenshot of the properties of the data source being bound to the conditional formatting icon set.
Business Object Properties.PNG
Business Object Properties.PNG (15.55 KiB) Viewed 4027 times
Please let me know if there is something else I can investigate or I can provide you to help me fix this issue.

thanks

Matt
Attachments
sample template.mdc
(124.45 KiB) Downloaded 424 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Conditional formatting

Post by HighAley »

Hello.

We need to reproduce the issue. So rendered report (mdc-file) will not help us.
Please, send us a report template with sample data which reproduces the issue.

Thank you.
Locked