Page 1 of 1

How to print/show text/object based in condition?

Posted: Sun Jan 08, 2017 6:11 pm
by rodrigorodrigues
Hi, there are some components in my report and I'd like to show/hide them according some conditions, example, I have the text with expression Name : {data.name}, the output is Name : RODRIGO, but, sometimes the data.name is not defined and I'd like to hide that text component, how can I check this condition and hide components in report based in conditions?

Re: How to print/show text/object based in condition?

Posted: Mon Jan 09, 2017 7:58 am
by HighAley
Hello.

The answer depends on many moments.
You could use the Filter to hide empty names, or you could use the Conditions.
We could give you more detailed answer if you send us your report template with sample data and describe what you need to hide more detailed.

Thank you.

Re: How to print/show text/object based in condition?

Posted: Thu Jan 12, 2017 12:29 am
by rodrigorodrigues
Hello, see the atachments, I need to hide the "text" object based in some condition, this case, if the data field has a value.

If I insert code inside the report I guess I can set hide or visible any objects.

Re: How to print/show text/object based in condition?

Posted: Fri Jan 13, 2017 1:23 pm
by Alex K.
Hello,

Please try to add Condition with "Component Is Enabled" option.

Thank you.